/e-commerce-back-end

Object Relational Mapping (ORM)

Primary LanguageJavaScript

E-Commerce Back End Application

Description

Utilizing Node.js, Express.js, MYSQL database, and Sequelize to build the back-end portion for an e-commerce site. A walkthrough video can be found in the link below:

https://drive.google.com/file/d/1zKU5igpAu5W1au0A82GmA_8ss9ZjYIoI/view

Table of Contents

Installation

To install all necessary dependencies, run the following command in your terminal:

npm i

Also, ensure that you have created a .env file where you type in the database name, your username and password for your mysql account.

Usage

From the root level of the project, run:

mysql -u root p

Enter your username and password. Then, you will run the database by typing the following in the command line:

SOURCE db/schema.sql;

Once the databse has been populated, you can now run the server.

nodemon server.js

Questions

If you have any questions about this repository, please contact me directly at catacueto@gmail.com

You can find more of my work at https://github.com/catcueto