Skip to content

Molerog/BackendOnlineShop

Repository files navigation

About The Project -

Online Shop

The backend project will combine the knowledge acquired in the following technologies [node + express] technologies, as well as mysql/sequelize.

The project will consist of an online shop (e-commerce) for devices (phones, tablets, computers and wearables).

Built with...

This Project was developed with the following technologies

  • JavaScript
  • Dependencies: mySql2, Express, Sequelize, Nodemon, Nodemailer, Multer, Jsonwebtoken, Bcryptjs
  • Postman
  • Trello

Action Route

  1. Modelling the Online Shop Diagram (fig1).
  • Table Users.
  • Table Orders.
  • Table Reviews.
  • Table Products.
  • Section Table

foto

  1. Defining tasks in Trello.

foto

  1. Building relations with Sequelize, it's important to review the Sequelize Documentation.

  2. Working On Endpoints.

  3. Adding field validations.

  4. Building seeds (Users, Products, Orders & Reviews). Improving the organisation with an Excel File.

foto

  1. Implementing user registration with confirmation via email. We need to use Multer Documentation.

  2. Show Endpoints in PostmanAPI OnlineSHop

Getting Started - Installation

To deploy this project you must clone the repository through the following link:

  1. Clone the folder
https://github.com/Molerog/BackendOnlineShop
  1. Install dependecies
npm i
  1. If you don't have Sequelize installed in your System, you have to write this line.
npm install sequelize-cli -g
  1. Migrate db
npm sequelize db:migrate
  1. Install Seeds
npx sequelize db:seed:all

Preview

foto

Author

👤 Germán Molero 👤 Vince BC

This project was developed By Germán Molero & Vicente Barberá - Vince BC -

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors