Giter Site home page Giter Site logo

e-commerce-back-end's Introduction

E-Commerce-Back-End

Table of Contents

Please use this table of contents to navigate the README.

Description

The goal of this project was to create the back end of an e-commerce application that would allow a manager at an internet retail company to utilize the latest technologies to enable the company to compete with other e-commerce companies. Additionally, the goal was to create an e-commerce platform that would utilize MySQl, Sequelize, and JavaScript to create models and routes where the user can run GET, POST, DELETE, and PUT requests to leverage and manipulate data in the database.

Installation

Please use the following steps to install this application on your local computer:

-Step 1: Access the Public GitHub Repository

-Step 2: Open a GitBash terminal and navigate to the folder that you want to use for this cloned repository.

-Step 3: In GitBash run the command git clone https://github.com/AlexandertheGreat491/E-Commerce-Back-End.git

If you ware using a license other than MIT you will need to change the license name in the package.json file.

-Step 4: Make sure that Insomnia is installed on your local device. If Insomnia is not installed on your local computer, navigate to the Insomnia Docs for installation instructions.

-Step 5: Open the folder that you saved the cloned repository in in your code editor and open the .env file. Leave the value for DB_NAME as it is. Make sure to change DB_USER to your MySQL username and change DB_PW to your MySQL password.

-Step 6: In your GitBash terminal you need to run: npm i

Running this command will ensure that all of the necessary libaries are available for the application.

-Step 7: Start the server by running the command: npm run watch. This will start the server, connect to the database, and allow the utilization of nodemon.

-Step 8: In your terminal (recommend using a second terminal for your mysql commands) run: mysql -u -p Then enter your password when prompted.

-Step 9: Run the MySQL command: USE ecommerce_db;

-Step 10: In your first terminal you will need to run: npm run seed. This command will seed the category, product, product_tag, and tag tables.

After following these steps the application has been installed on you local computer and you can run the routes in Insomnia.

Usage

Please watch the walkthrough video get an idea of how the application should be used on your local computer after following the installation instructions:

E-Commerce Back End Walkthrough Video

Credits

Collaborators:

Alex Van Dyke

Tutorials:

Dotenv

Insomnia Docs

MySQL Reference Guide

Nodemon

Professional README Guide

Sequelize

Sequelize

Working with Config Vars on Heroku

License

Link to license

e-commerce-back-end's People

Contributors

alexanderthegreat491 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.