LindseyKrause / e-commerce-

This project is the back end of an e-commerce site.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Commerce Back-End

Screen Shot 2021-06-13 at 5 15 16 PM

Description

This project adds functionality to an e-commerce site by making the back-end of the project functional by adding routes.

Table of Contents

Installation

  1. Clone this repositorty.
  2. Run NPM init to install dependencies
  3. Use mysql (mysql -u -p, enter password) to SOURCE db/schema.sql (absolute path to schema.sql).
  4. Start server using npm start
  5. Populate the database using npm run seed in separate shell while server is running
  6. Utilize Insomnia to test route functionality for creating, reading, updating, and deleting entries.

Technologies

  • Javascript
  • node.js
  • express.js
  • MySQL2
  • Sequelize
  • dotenv
  • Insomnia (testing)

Usage

This projects only demonstrates its back-end utility and requires Insomnia or Postman to test endpoints

Credits

Created using UofA Trilogy Starter code.

Tests

Use Insomnia or Postman to test route functionality.

Walkthrough Video: Category Routes: https://drive.google.com/file/d/1q2SfnwgZbdDh_xrEhj6DzeHqoSwKMYjj/view

Product Routes: https://drive.google.com/file/d/1Kt3O0f6tHN3aIH7xNunnysixu-QUBXcT/view

Tag Routes: https://drive.google.com/file/d/1FlLgKELNATWM3Il6OE9D0PYfnEfdOFiT/view

Questions

If you have any questions or need additional information, you can reach me at the following places:

Github

LindseyKrause https://github.com/LindseyKrause

About

This project is the back end of an e-commerce site.


Languages

Language:JavaScript 100.0%