Generated APIs
EzBackend automatically generates API routes from schemas defined by the user
Default Routes
By default, EzBackend generates the following routes:
Route Name | Method | URL | Action |
---|---|---|---|
createOne | POST | / | Create a single entry in the database |
getAll | GET | / | Get all entries in the database |
getOne | GET | /:id | Get a single entry in the database |
updateOne | PATCH | /:id | Update a single entry in the database |
deleteOne | DELETE | /:id | Delete a single entry in the database |
All the routes support nested functionality, and you can see more details here