Skip to content

Back end for an e-commerce site using Express.js API and Sequelize to interact with a MySQL product database.

Notifications You must be signed in to change notification settings

LaurenDarrimon/e-commerce-back-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

e-commerce-back-end

Lauren Darrimon

License: MIT Language Badges Commits Badge Repo Size Repo Issues

Description

Back end for an e-commerce site using Express.js API and Sequelize to interact with a MySQL product database.

Table of Contents

Link

🔗 Link to application e-commerce-back-end

Installation

🔧 In order for this application to work, you need to install the following (dependencies): Node.js, Express.js, MySQL2, Sequelize, and dotenv.

After you clone down the repository, install dependencies from the root directory.

npm install 

Then, move into the db/ directory and create the database in MySQL.

mysql -u root -p
source schema.sql

Next, move back into the root directory and seed your database with the sample data.

npm run seed

Usage

To run the application from the command line of the root directory:

npm start

To check your API endpoints, open the Insomnia core to test GET, PUT, POST, and DELETE requests for all the routes: categories, products, and tags to see the sample data returned as JSON content.

result data displayed in Insomnia core

Contributing

✍️ Lauren Darrimon is the author of this application. Find additional work on Lauren Darrimon's Github profile..

Questions

❓💌 Reach out to Lauren Darrimon at hello@laurenlalita.com if you have any questions.

License

The license for this project is: MIT License: MIT

About

Back end for an e-commerce site using Express.js API and Sequelize to interact with a MySQL product database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published