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

https://github.com/ericbwebdev86/ericmart-backend

Backend for e-commerce site
https://github.com/ericbwebdev86/ericmart-backend

expressjs javascript mysql nodejs sequlizejs

Last synced: 12 months ago
JSON representation

Backend for e-commerce site

Awesome Lists containing this project

README

          

# ericmart-backend ![Github license](https://img.shields.io/badge/license-MIT-green.svg)

## Table of Contents
1. [Description](#description)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Credits](#credits)
5. [Test](#test)
6. [Contact](#contact)
7. [License](#license)

## Description
This is a backend for an e-commerce site built with Node, express, and sequelize.

## Installation
Run "npm i"
then modify the .env.example file to be .env and enter your info.
then log into your mysql CLI in the folder path and
run "source db/schema.sql;"
quit out of that and run
"npm run seed"
then run
"npx nodemon server"

## Usage
Since this does not have a front end you will have to use an api route testing app such as Insomnia, the routes should be something like "http://localhost:3001/api/products"

[Link to the demo video](https://youtu.be/RLRLu1AckTI)

## Credits
My TA!

## Test
N/A

## Contact
Email: ericbwebdev86@gmail.com
Github: https://github.com/ericbwebdev86

## License
MIT license is a short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.