RESTBench / requirements

Minimum requirements that a repository must fulfill
0 stars 1 forks source link

Description

Here we list the minimum requirements that a repository must fulfill.

Requirements

All CRUD implementations must implement:

The following verb implementations are optional, but if done, should behave as follows:

Database

All implementations must use only the framework's tool to access the database.

Creating the tables, seeding data, queries etc. all must be as agnostic as possible.

Check this file for more information regarding the structure for the tables.

Endpoints

A list of some basic endpoints that must be implemented:

Authentication

Main resource

Sub-resource / relationship

Question: must the sub-resource stay under its parent endpoint?

Responses

All responses must be structured accordingly with the following pattern:

Documentation

TBD

Tests

TBD

CI

TBD