Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.19 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.19 KB

online-boutique-back-end

Description

I built the back end for an e-commerce site by modifying starter code. I configured a working Express.js API to use Sequelize to interact with a MySQL database.

link to GitHub repository

video demo -part 1

video demo -part 2

Table of Contents

Installation

Install the below packages/modules from node.js by running npm install :

  • sequelize
  • mysql2
  • express
  • In the terminal run mysql -u root or mysql -u root -p (if you have a password) then enter SOURCE db/schema.sql; then quit
  • To seed the database, from the terminal, run npm seed then run npm watch
  • You can then go to Insomnia and set up your routes to test everything

Usage

Insomnia setup

License

MIT

Questions

Link to my github: https://github.com/Ro-Galvan

Contact me: https://www.linkedin.com/in/rocio-galvan/