Skip to content

This application is a backend for e-commerce site. It uses Express.js for the server, MySQL for the database and Sequelize as the ORM to run MySQL models and queries. Users can view products, categories, tags and edit them.

Notifications You must be signed in to change notification settings

orcunSarmis/E-Commerce-Back_End

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

E-Commerce-Back_End

GitHub license

Description

This application is developed as a backend for an e-commerce site. The application uses Express.js for the server, MySQL for the database and Sequelize as the ORM to run MySQL models and queries. The user can view various products, their categories, tags and edit them. Insomnia was used to run various API routes. The database is accessed and updated by RESTful API routes and then joined through Sequelize queries.

Creating the database.

xyz

Creating tables.

seeds

Running the server.

server

Table of Content

Usage

Clone my GitHub repo first and run the following command at the root of your project for creating the database and you run various API routes in the Insomnia.

source schema.sql
npm run seed
npm start

Use this Walkthrough video as a guide for using this application.

Contributing

Ideas to improve this application are welcome, email me please.

Installation

To install necessary dependencies, run the following command:

npm i mysql2
npm i express
npm i sequelize

Tests

Tests will run in the Insomnia.

License

This project is licensed under the MIT license.

Questions

If you have any questions about the repo, open an issue or contact me directly at [email protected]. You can find more of my work at GitHub.

About

This application is a backend for e-commerce site. It uses Express.js for the server, MySQL for the database and Sequelize as the ORM to run MySQL models and queries. Users can view products, categories, tags and edit them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published