Skip to content

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.

Notifications You must be signed in to change notification settings

Ro-Galvan/online-boutique-back-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

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.

Topics

Resources

Stars

Watchers

Forks