Description
Build a Reflection back end application that is used to record and measure achievement targets.
Requirements
- Create Rest API using NodeJS, ExpressJS with Postgres database and also implement authentication with JWT.
- Use SQL queries to store, modify and retrieve data using the Postgres database.
- Each user can only CRUD (Create, Read, Update, Delete) their own reflection data.
Endpoint Rest API
- Endpoint for user registration POST /api/v1/users/register
- Endpoint for user login process POST /api/v1/users/login
- Endpoint for users to create reflection data POST /api/v1/reflections
- Endpoint for users to get all their own reflection data GET /api/v1/reflections
- Endpoint for users to update all their own reflection data PUT /api/v1/reflections/:userId
- Endpoint for users to delete all their own reflection data DELETE /api/v1/reflections/:userId