configure a working Express.js API to use Sequelize to interact with a MySQL database.
-
- Node.js
- Sequalize
- mySql
- Be able to provide e-commerce sites with a functioning back-end to manage their stores.
- One of the challenges I faced was creating routes. This is a challenge I have faced in the past and as I feel more comfortable now it is still something I struggle with.
- I learned how ORM's work and how to use Sequalize.
- Download NPM packages
npm install
- Run mySQL database in db folder
mysql -u root -p source schema.sql
-
Seed the database
npm run seed
-
Run application
npm start || node server.js
- github.com/geoescobar
- geo.escobar214@gmail.com