Skip to content

dcquinche/backend-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend-assessment

Make It Real - This is a solution to the Backend Assessment Project (a FAVS API) of the Make It Real course.

Built with

  • 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 Flow

  1. User Registration
  2. User Login
  3. Create a Fav List
  4. Get All Favs List
  5. Get a Single Fav List
  6. Add a Fav to a Given List
  7. Delete a List

User Registration

The user can enter his/her email and a password to register to the system. Registration

User Login

The user can enter his/her email and password to log in to the system. Login

Create a Fav List

When the user is authenticated, he/she can create a new fav list, with a name and the favs. CreateFavList

Add a Fav to a Given List

When the user is authenticated, he/she can add a new fav to a list. UpdateFavList

Get All Favs List

When the user is authenticated, he/she can see all the fav lists that have been created. GetAllFavList

Get a Single Fav List

When the user is authenticated, he/she can see a specific fav list. GetAFavList

Delete a List

When the user is authenticated, he/she can delete a specific fav list. DeleteFavList

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published