This is an api database setup powered by sequelize, nodejs, and expressjs. The application allows users to create an e-commerce database and add, retrieve, and update items in the database.
- Run
npm install
to install dependencies. - Log into you mysql shell using your username and password
- Run
CREATE DATABASE ecommerce_db;
to create the database. - Run
npm run seed
to seed the database. - Run
npm start
to connect to the server
Be sure to update your .env file with your username and password. An example file is provided.
Checkout this for demo of the intended functionality and demonstration through Insomnia Core.
- Configuration file
- Database schema
- Models
- Routes
- Seed files
- Example env file
- Server.js file
e-commerce api is MIT licensed
Feel free to contribute to this project by forking the repo, making your changes and creating a pull request when you're ready.
If you have any questions, contact me:
Email: l.teal21@gmail.com
- Starter files were provided by Trilogy Education Services, LLC, a 2U, Inc. brand