stevengoldbergm / e-commerce-back-end

A simple retail application powered by Express and MySQL2 . Utilizes dotenv (.ENV), Express, MySQL 2, and Sequelize to create a working e-commerce framework that allows for individual products and product tags for a smoother user experience.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Commerce Back-End

Table of Contents

Description

This back-end system allows the user to manage database items based on their Categories, Products, and associated Tags.

You can see a video of the program in action HERE!

Image of an api call showing Product values.

Installation

Follow the below steps to install the program:

After cloning the repository, enter the following command in your terminal to install the necessary npm packages.

npm i

After installing the npm packages, use your terminal to log into mysql and enter the following command to initialize the database.

SOURCE [schema file path goes here]

Once the schema has been initialized, return to your regular terminal and enter this command.

npm run seed

Usage

After installation, enter the following command into your terminal to start the back-end server.

npm start

Once the server is up and running, you can use an API platform (such as Postman or Insomnia) to navigate the data and run GET, POST, PUT, and DELETE queries.

Image of an api call showing a new Product being created.

Questions

For more information, feel free to contact me:

GitHub: github.com/stevengoldbergm

About

A simple retail application powered by Express and MySQL2 . Utilizes dotenv (.ENV), Express, MySQL 2, and Sequelize to create a working e-commerce framework that allows for individual products and product tags for a smoother user experience.


Languages

Language:JavaScript 100.0%