Make It Real - This is a solution to the Backend Assessment Project (a FAVS API) of the Make It Real course.
- TypeScript: as programming language and compiled into JavaScript.
- Node.js: to run the program (you can use npm run dev).
- MongoDB: to storage the data.
Some dependencies as:
- express: to build the server.
- mongoose: to structure the models data.
- dotenv: to read the environment variables (PORT, MONGO_DB_URI and JWT_SECRET).
- bcryptjs: to become stronger the passwords.
- jsonwebtoken: to do the users authentication.
- ts-jest and supertest: to do tests to the funcionalities (you can run them with npx jest fileName ).
- User Registration
- User Login
- Create a Fav List
- Get All Favs List
- Get a Single Fav List
- Add a Fav to a Given List
- Delete a List
The user can enter his/her email and a password to register to the system.
The user can enter his/her email and password to log in to the system.
When the user is authenticated, he/she can create a new fav list, with a name and the favs.
When the user is authenticated, he/she can add a new fav to a list.
When the user is authenticated, he/she can see all the fav lists that have been created.
When the user is authenticated, he/she can see a specific fav list.
When the user is authenticated, he/she can delete a specific fav list.