Skip to content

REST API with express for students to manage courses.

Notifications You must be signed in to change notification settings

nophora/school_REST-API

 
 

Repository files navigation

School Courses REST API.

Project 9 of my fullStack tech-degree. Super cool REST API handling users, authentication, restricted routes and CRUD operations on a relational DB.

Motivation

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.

Build status

Up and Running good. ;)

Tech/framework/dependencies used

vanilla JavaScript
node.js
Express
Sequelize
bcrypt
morgan
basic-auth
sqlite3

=========================================

Features

Authentication - Basic Schema.
Error Handling - 400, 401, 402, 403, 404 and 500. SequelizeValidationErrors and SequelizeUniqueConstraintErrors.
User account creation
Validation -
Courses Updates
=================

Installation

Clone the repo.
Go to the main directory.
npm install
npm start

Server will listen on localhost:5000

=========================================

Tests and browser compatibility

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.

Contribute

Please feel free to clone it, test it and colaborate with anything you might think will improve the app.

Credits

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!

=========================================

About

REST API with express for students to manage courses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%