Skip to content

DariusGarcia/ecommerce-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce Express server

Screenshot of Express app

link to video walkthrough

Description

This express app acts as a server an ecommerce application that allows users to view all products, categories, and product tags.

  • Users can update products, tags, and categories.
  • Users can delete products, tags, and categories.

Usage

To use this web app, go to the different API endpoints located at

http://localhost:3000/api/products
http://localhost:3000/api/products/:id
http://localhost:3000/api/categories
http://localhost:3000/api/categories/:id
http://localhost:3000/api/tags
http://localhost:3000/api/tags/:id

Installation

clone repo to local machine and cd into dir/

cd ecommerce-server/

install dependencies

npm install

configure Sequelize environmental variables with mySQL credentials

add variables to .env file

seed mySQL database

npm run seed

start server

node server.js

Credits

N/A

License

MIT License

About

This express app acts as a server an ecommerce application that allows users to view all products, categories, and product tags. Utilizes mySQL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published