/e_commerce_backend

This app is a back end for an e-commerce site. Therefore, it uses the latest technologies so that the companies can compete with other e-commerce companies.

Primary LanguageJavaScriptMIT LicenseMIT

e_commerce_backend

Demo Video

https://youtu.be/M3IrKBMSDsg

License

GitHub License GitHub license

Description

This app is a back end for an e-commerce site. Therefore, the app uses the latest technologies so that the companies can compete with other e-commerce companies. Moreover, the app mainly uses Express.js API to use Sequelize to interact with a MySQL database. Also please do Not forget to add your MySQL username, and your MySQL password to the environment variable file

This app accomplishes the following functionality.

GIVEN a functional Express.js API WHEN I add my database name, MySQL username, and MySQL password to an environment variable file THEN I am able to connect to a database using Sequelize WHEN I enter schema and seed commands THEN a development database is created and is seeded with test data WHEN I enter the command to invoke the application THEN my server is started and the Sequelize models are synced to the MySQL database WHEN I open API GET routes in Insomnia Core for categories, products, or tags THEN the data for each of these routes is displayed in a formatted JSON WHEN I test API POST, PUT, and DELETE routes in Insomnia Core THEN I am able to successfully create, update, and delete data in my database

Table of Contents

Installation

Install the following command in order to install this app npm i

Usage

You can use these commands in order to use it server.js or npm start, and for seeding data, run node seeds/index.js

License

This project is licensed under the MIT license.

Contributing

Abdale Hassan

Testing

N/A

Questions

Please email me for more info cabdale989@gmail.com ![]https://github.com/Abdale88

screenshot