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/.
npm init
npm install mysql2
npm install sequelize
npm install dotenv
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
Video: https://watch.screencastify.com/v/4jC4vI3HrptmNJTPXA5z
The screenshots:
Thanks, per usual, to the Calendely tutors, my TA, and my instructor.
Please refer to the licence in the repo.
Please let me know if there are any changes that could be made to improve the app.