Skip to content

cspower5/ecommerce-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecommerce-backend

ecommerce-backend

License: MIT

description:

A back end for an e-commerce website that uses the latest technologies

A. Using functional Express.js

  1. The database name, MySQL username, and MySQL are stored in environment variable file

  2. Acessing that environment variable file allows my node server to connect to a database using Sequelize.

  3. Passing the schema file into the database builds my database.

  4. Running the npm run seed command populate the tables with data.

  5. The node server command invokes the application, starts the server, and syncs the Sequelize models to the MySQL database

  6. Through Insomnia I can open the GET routes for categories, products, or tags where the data for each route is displayed in a formatted JSON

  7. Testing API POST, PUT, and DELETE routes through Insomnia will create, update, and delete data in my database

Table of Content

username:

https://github.com/cspower5

github

ecommerce-backend

Contributions

Christopher Borer

email

[email protected]

license

MIT (https://opensource.org/licenses/MIT)

Installation

requires node.js, Mysql2, sequalize, and dotenv

Usage

back end for an e-commerce website

Testing

NA

Issues

contact contributors

Links

screen shot video

git hub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published