Coder Social home page Coder Social logo

orm-e-commerce-back-end's Introduction

E-Commerce Back End

Badge for GitHub repo top language Badge for GitHub last commit

Description

The purpose, the motivation, the execution:

This application was created to allow internet retailers to utilize a MySQL database and keep an up to date record of specific categories, products, and tags that relate to the sale and inventory of their business. This application uses Sequelize to interact with the MySQL database by providing an object-relational-map that sequalize can depend on rather than being limited only to SQL queries. This helps to separate the application code into more managable pieces of code that can be reused and helps to isolate any bugs.

Table of Contents

  • Installation

  • Usage

  • License

    Installation

    Steps required to install project and how to get the development environment running:

    You can clone the repository to you local hard drive. Open the project in VS Code, if you do not have VS code you must install it. Navigate to the project folder within the terminal and run npm init -y to initialize your node environment and create a package.json where the project will be stored. Next use the terminal to execute the command npm i to install the project dependencies.

    After all dependencies have been installed you will need to create your .env file within the root directory of your repository. This will contain your environmental variables specifying the database name, your MySQL username, and your MySQL password. This will need to be completed before running the application, and will allow the connection.js file to utilize your environmental variables which will keep sensiitive login information safe.

    To create the database for the project you will need to navigate to the project file containing the schema.sql file. Once there you will need to open a MySQL shell and run the command source schema.sql. Once the database is created you will need to navigate to the root directory to seed the database with the following command: npm run seed. After this command is sucessfully executed you can run the command npm start to start the application.

    Usage

    Usage Gif Usage Gif

    Instructions and examples for use:

    Once the application is started, the user can utilize an api platform such as Postman or Insomnia to hit the api enpoints and execute the various functions within the aapplication. A demonstration of the applications functionality is shown below.

    Video Link

    License

    This project is covered under the MIT License license.


Questions?

dpprdgls

For any questions or concerns, feel free to contact me using the information below:

GitHub: @dpprdgls

orm-e-commerce-back-end's People

Contributors

dpprdgls 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.