Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jnmayhook/e-commerce-back-end-orm

An app that uses Node.js and Express.js to build the back end (db schema and REST API) for an e-commerce site
https://github.com/jnmayhook/e-commerce-back-end-orm

e-commerce expressjs mysql2 orm sequelize

Last synced: 22 days ago
JSON representation

An app that uses Node.js and Express.js to build the back end (db schema and REST API) for an e-commerce site

Awesome Lists containing this project

README

        

# Ecommerce Backend ORM

## Description

Internet retail, also known as E-commerce, is the largest electronics industry sector. E-commerce platforms provide a suite of services to businesses of all sizes and due to their prevalence, understanding the fundamental architecture of these platforms is essential. This command-line application is the back-end of an e-commerce website using the latest technologies, which allows you to create a database using MySQL and connect to the database using Sequelize. After the schema and seed commands are run, and the database is populated with test data for categories, products, and tags; the API GET, POST, PUT, and DELETE routes are checked in Insomnia, with the ability to create, update, and delete data in the database.

## Technologies
- HTML5
- CSS/Bootstrap Framework
- Javascript/Node.js
- Express
- MySQL
- Sequelize

## Installation and Usage Instructions
Open your terminal and type `npm install` or `npm i` to install the dependencies. Enter `npm start` to run the application. Enter `mysql.server start` to start the server, then `mysql -u` your username `-p` and hit enter. Type your password. Once logged in to mySQL, enter `SOURCE db/schema.sql`, and then `exit`. Enter `npm seed` and then `npm start`. Open Insomnia create GET, POST, PUT, DELETE routes for Categories, Products, and Product tags.

## Demo Video
[Click here for a demo of the app run via the command line.](https://drive.google.com/file/d/1Dk9YDPxN_kFPBZ2W70kxrCUp95zyu-2F/view)

## Questions?
Please contact me:

GitHub: [@jnmayhook](https://github.com/jnmayhook)
Email: [[email protected]](mailto:[email protected])