Git Product home page Git Product logo

e-commerce-back-end's Introduction

E-Commerce-Back-End

Table of Contents

Overview

This repository is an exhibition of an e-commerce back end implementation. The user can consult the repo to learn how to create a back end for an e-commerce site effectively, using the object-relational mapping design pattern. The project makes use of Node.js to work with a back end, the Express package to design and configure an API, the dotenv package to classify environmental variables, and the MySQL2 as well as the Sequelize packages to manage and interact with the database.

What is Object Relational Mapping?

Today, the majority of applications are written in OOP language and at the same time persist their data in relational databases. Due to this fundamental paradigm mismatch, a need for a more harmonic way to communicate between them arose. Object relational mapping allows one to call and manipulate data from the database using your language of choice instead of SQL.

Technologies Used


Chris-Js          Chris-Node          Chris-Express          Chris-MySQL          Chris-Sequelize          Chris-HTML          Chris-CSS         

Screen Capture

Full Walkthrough Video

Link

Installation

  1. Fork and clone repository to local machine.
  2. Run integrated terminal in personal IDE.
  3. Run npm i to install dependencies in local project directory.

Usage

  1. Create database via command-line or in MySQL GUI.
  2. Insert synthetic "seed" data via command line or in MySQL GUI.
  3. Open integrated terminal in personal IDE.
  4. Run my sql -u root -p.
  5. Enter MySQL GUI password.
  6. Run source ./db/schema.sql.
  7. Run exit.
  8. Run npm run seed.
  9. Run npm start.
  10. Test endpoints in API tester tool such as Insomnia.

e-commerce-back-end's People

Contributors

c1flores avatar

Stargazers

John Magdy Lotfy Kamel 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.