ORM

Description

In this project, I learned how to use the basics of Object Relational Mapping to build a backend e-commerce site using MySQL2, Express, Sequelize and dotenv. The Github repo is https://github.com/AStandish/ORM and link https://astandish.github.io/ORM/.

Installation

npm init

npm install mysql2

npm install sequelize

npm install dotenv

Run

In order to run the application type the following command at the root of your project and answer the prompted questions:

Run the following command at the root of your project and answer the prompted questions:

mysql -u root -p

Enter PW when promted

source db/schema.sql

quit

npm run seed

npm start

Usage

Video: https://watch.screencastify.com/v/4jC4vI3HrptmNJTPXA5z

The screenshots:Screenshot (99) Screenshot (100)

Credits

Thanks, per usual, to the Calendely tutors, my TA, and my instructor.

License

Please refer to the licence in the repo.

How to Contribute

Please let me know if there are any changes that could be made to improve the app.