This project adds functionality to an e-commerce site by making the back-end of the project functional by adding routes.
- Clone this repositorty.
- Run NPM init to install dependencies
- Use mysql (mysql -u -p, enter password) to SOURCE db/schema.sql (absolute path to schema.sql).
- Start server using npm start
- Populate the database using npm run seed in separate shell while server is running
- Utilize Insomnia to test route functionality for creating, reading, updating, and deleting entries.
- Javascript
- node.js
- express.js
- MySQL2
- Sequelize
- dotenv
- Insomnia (testing)
This projects only demonstrates its back-end utility and requires Insomnia or Postman to test endpoints
Created using UofA Trilogy Starter code.
Use Insomnia or Postman to test route functionality.
Walkthrough Video: Category Routes: https://drive.google.com/file/d/1q2SfnwgZbdDh_xrEhj6DzeHqoSwKMYjj/view
Product Routes: https://drive.google.com/file/d/1Kt3O0f6tHN3aIH7xNunnysixu-QUBXcT/view
Tag Routes: https://drive.google.com/file/d/1FlLgKELNATWM3Il6OE9D0PYfnEfdOFiT/view
If you have any questions or need additional information, you can reach me at the following places:
LindseyKrause https://github.com/LindseyKrause