AbhiBiju / ecommerce-backend

Backend for an E-Commerce site connected to a MySQL database which can be used to view add update and delete the products, tags, and categories of products available on the site. It utilizes node.js and sequelize in order to handle and store the product data and can take in input to add, update and remove the product data as needed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Commerce Backend

MIT Sloc GitHub repo size

Table of Contents

Description

In this Challenge, I used the Express, Sequelize and MySQL2 node packages along with a MySQL database to create the backend for an E-Commerce site connected to a MySQL database which can be used to view add update and delete the products, tags, and categories of products available on the site. It utilizes node.js and sequelize in order to handle and store the product data and can take in input to add, update and remove the product data as needed.

Languages

  • JavaScript
  • Node.js
  • MySQL
  • Sequelize
  • Insomnia Core

Deployment

You Can Find the App Here

Usage

Here is a walk-through video showing the usage process and outlines the backend routes:

link: https://user-images.githubusercontent.com/83188832/132614623-372133b5-068d-481d-adc5-9dd38f7c30f3.mp4

Screen-Recording-2021-09-08-at-1.mp4

To install the needed dependencies, use the following command:

npm i

To connect to the mysql shell, use the following command:

mysql -u root -p

To create the schema, use the following command in the mysql shell:

source db/schema.sql

To enter the sample data into the mysql database, use the following command:

npm run seed

To run this application, use the following command:

npm start

License

This project is licensed under the MIT License

Contributing

There are many ways in which you can contribute, beyond writing code. If you have any questions or concerns, please email at abhinavbiju29@gmail.com. If you find any reproduceable problems with the app, please report/file an issue. Thank you for contributing!

Questions

If you have any questions about the repo, open an issue or contact me directly at abhinavbiju29@gmail.com. You can find more of my work at AbhiBiju.

About

Backend for an E-Commerce site connected to a MySQL database which can be used to view add update and delete the products, tags, and categories of products available on the site. It utilizes node.js and sequelize in order to handle and store the product data and can take in input to add, update and remove the product data as needed.


Languages

Language:JavaScript 100.0%