E-commerce

JavaScript Badge

Insomnia:

Insomnia

Description

  • Learned what an ORM is and how ORMs like Sequelize help manage tricky SQL queries and modeled data in JavaScript.
  • Utilized Sequelize to create associations and connect multiple types of Data.
  • This activity helped to understand the fundamental back-end database structure of popular e-commerce websites.
  • Perform RESTful CRUD operations to fill out API routes.

Table of contents

  1. Technologies used
  2. Features
  3. Screenshots
  4. Credits
  5. License

Technologies used

  • Javascript
  • MySql
  • Sequilize ORM
  • Express
  • Node
  • Insomnia

Features

  • Post Routes for Categories, Products, and Tags
  • Update routes for Categories, Products, and Tags
  • GET routes for Categories, Products, and Tags
  • GET By Id Routes for Categories, Products, and Tags
  • Delete Routes for Categories, Products, and Tags

Usage

  • Installing necessary dependencies including Dotenv, Express, mysql2, and sequelize
  • For developers, run nodemon server.js.
  • Run node seeds/index.js when first using to ensure table data is added.
  • Screenshots: Update Routes Belongs to Many-Index Models

Credits

License

MIT License