Project 9 of my fullStack tech-degree. Super cool REST API handling users, authentication, restricted routes and CRUD operations on a relational DB.
Learn and work with the building blocks of any modern web app now days. Build a complete REST API that will serve my React app of project 10.
Up and Running good. ;)
vanilla JavaScript
node.js
Express
Sequelize
bcrypt
morgan
basic-auth
sqlite3
=========================================
Authentication - Basic Schema.
Error Handling - 400, 401, 402, 403, 404 and 500. SequelizeValidationErrors and SequelizeUniqueConstraintErrors.
User account creation
Validation -
Courses Updates
=================
Clone the repo.
Go to the main directory.
npm install
npm start
Server will listen on localhost:5000
=========================================
All routes, authentication and CRUD operations were validated and tested using Postman desktop.
Use this file in Postman to test. RESTAPI.postman_collection.json
MAY 2021.
Please feel free to clone it, test it and colaborate with anything you might think will improve the app.
thanks to teamTreeHouse team and slack community, specially @lee, @robertm and @marie for the review and feedback before submitting.
TREEHOUSE FSJS techDegree © Diego ALvarez @doctorDAlvarez
License (MIT)
Have a nice coding day!
=========================================