This is a backend API for an E-commerce site.
Technologies used :
- Node JS
- Express
- MySQL Database
- Sequelize
- Swagger
- Stripe (For Payments)
- Bcrypt
- Supertest (Integration testing)
- JWT (For authentication)
- Eslint
- Jest (Unit testing)
- Babel ES6
- @hapi/joi (Validation)
- winston (Logging)
How to use :
Register as User from customers/Registration endpoint
Login as the registered user to get the authorization key
Use this key to access locked endpoints.
Routes and models are described in the API.
Features :
Best practices are used so that project can be scaled.
All errors are handled properly, using the mentioned documentation.
MVC Framework is used in this API project.
swagger file : swagger