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

https://github.com/ezaiger/e-commerce-back-end

Module 13 Challenge Assignment - Back end for an e-commerce site.
https://github.com/ezaiger/e-commerce-back-end

crud-operations dotenv expressjs javascript mysql mysql2 sequelize

Last synced: about 2 months ago
JSON representation

Module 13 Challenge Assignment - Back end for an e-commerce site.

Awesome Lists containing this project

README

          

# E-commerce Back End
Module 13 Challenge Assignment

## License
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL_2.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)

Mozilla Public License 2.0 (MPL-2.0)
Further resources on Mozilla Public License 2.0 (MPL-2.0)

## Description
Back end development of an e-commerce site

## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
- [Contributing](#contributing)
- [Tests](#tests)
- [Questions](#questions)

## Installation
- Create an .env file and include: DB_NAME, DB_USER, DB_PW
- Create a .gitignore file and include: node_modules/, .env, .DS_Store/ and package-lock.json.
- Install MySQL 2 client for Node.js by entering 'npm i mysql2' in the command line
- Install sequelize by entering 'npm i sequelize' in the command line
- Install dotenv by entering 'npm i dotenv' in the command line
- Install mysql by entering 'mysql -u root -p' and enter your password
- ...source db/schema.sql
- ...quit or exit
- Seed data to the database by entering the following command: npm run seed
- Invoke the application by entering the following command: npm start

## Usage
Follow this link for the walkthrough video of the application demonstration (in progress)

## Contributing
- Starter code provided by Xander Rapstine and dependabot with coding-boot-camp.
- Refactored code provided by ezaiger.

## Tests
- Insomnia

## Questions
My GitHub Profile

If you have additional questions, you can reach me via email