Skip to content

park-d/e-commerce-back-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object-Relational Mapping (ORM) - E-commerce Back End

This repository is Unlicensed and free to use.

Description

Due to the prevalence of E-commerce platforms, this is a practice back end to understand the fundamental architecture of e-commerce sites. This application was built using an Express.js back end and Sequelize to interact with a MySQL database.

Table of Contents

Installation

In order to use view this back end site, requirements are MySQL and node.js. To install all dependencies, run npm i in the terminal.

Usage

The user must create MySQL crendentials in a .env file, with the database name, username, and password.

DB_NAME='ecommerce_db'
DB_USER=''
DB_PASSWORD=''

Then run the db schema sql file and seed the database using npm run seed then run the application with node server.js.


Video walkthrough of creating and seeding the database, and starting the application

Seeding database and starting application


Video walkthrough of successful GET Routes for Categories, Products, and Tags

GET Routes for Categories, Products, and Tags


Video walkthrough of successful POST/PUT Routes for Categories, Products, and Tags

POST/PUT Routes for Categories, Products, and Tags


Video walkthrough of successful DELETE Routes for Categories, Products, and Tags

DELETE Routes for Categories, Products, and Tags

Credits

While working on this project, I worked alongside Jackson Myhre in the same bootcamp class. A lot of the routes were taken from class activities and edited to work in this assignment.

License

Licensed by The Unlicense

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published