malloryfaria / e-commerce-backend

The back end for an e-commerce site that uses Node, Express.js API, Sequelize, and interacts with a MySQL database. You just need to connect the front end to use it.

Home Page:https://youtu.be/udy89ZhZoEs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-commerce Back End

GitHub license

Table of Contents

Description

The back end for an e-commerce site that uses Node, Express.js API, Sequelize, and interacts with a MySQL database. You just need to connect the front end to use it.

Installation

// Clone the repository to your local machine using:|

git clone git@github.com:malloryfaria/e-commerce-backend.git

// Install all the dependencies by typing code:
npm i

// Ensure you have set up MySQL and you have a legacy password to log in with ****

// Create a .env file in the root of the folder and fill out the following with your information:
DB_NAME='ecommerce_db'
DB_USER='root'
DB_PW='examplepassword'

// From the db folder, login to your MySQL using:
mysql -u root -p

// Then, run this command to create the database:
source schema.sql;

// Then quit the MySQL shell by typing
quit;

// Seed the test data into the database by typing:
npm run seed

// Then use the below command to start the server:
npm start

Usage

Use this application to build on the front end for an e-commerce site to this back end.

Deployed application link

https://github.com/malloryfaria/e-commerce-backend

Demo

https://youtu.be/udy89ZhZoEs

Languages/Technology Used

Node, Express.js API, Sequelize, MySQL

Screenshots

npm seed command

npm start command

License

This project is licensed under the MIT license.

Contributing

If you would like to contribute, please reach out to me. You can find my contact information in the "Questions?" section below.

Questions?

If you have any questions about the project, contact me at: mallory.faria@gmail.com Check out the rest of my work at: malloryfaria

About

The back end for an e-commerce site that uses Node, Express.js API, Sequelize, and interacts with a MySQL database. You just need to connect the front end to use it.

https://youtu.be/udy89ZhZoEs

License:MIT License


Languages

Language:JavaScript 100.0%