/ecommerce-server

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

Primary LanguageJavaScriptMIT LicenseMIT

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