TinyApi
Minimal API for user management.
Set up
- Clone the repository
- Navigate to the repository on your local machine
- Install all the npm packages
- Create an
.env
file in the root of the project and user the template from.env.example
to fill in the values yarn serve
to start the local server- Use any REST client to try out different endpoints
Routes
POST
/users => Creates a new user in the systemGET
/users => Returns all the users in the systemGET
/users/:id => Returns information about a user with the givenid
PUT
/users/:id => Updates the user information with the givenid
DELETE
/users/:id => Removes the user with the givenid
from the system
TODO
- Set up the initial Application Repository
- Make the README
- Set up server
- Add initial CRUD routes
- Add REST API Documentation (Swagger or APIDoc)
- Response handler
- Error handlers for each routes
- Add a db support
- User Authentication