javiistacks / e-commerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit 13: Object-Relational Mapping (ORM)

Generic badge GitHub language count GitHub top language

e-commerce

Table of Contents

Introduction

A mysql database and application backend for an e-commerce site.

Demo

Watch a demo of the application on Youtube. Object-Relational Mapping (ORM).

Installations

Type the following npm install commands:

1. npm i dotenv express mysql2 sequelize
2. npm init -y

on the command line while in the Developer folder.

  • npm

    • npm is the package manager for the Node JavaScript platform.
  • dotenv

    • Enables the application to access environment variables.
  • express

    • Allows to dynamically render HTML Pages based on passing arguments to templates.
  • mysql2

    • Enables the application to create a connection to the mysql database.
  • sequelize

    • Sequelize is a promise-based Node.js ORM tool for MySQL.

Usage

👨🏽‍💻Open in Integrated Terminal

To Run application while in the developer folder type

npm start 

Created by

Repository

Github Repository

Repository at e-commerce

License

Copyright (c) Javiann Marrero. All rights reserved.
Please be kind and change content if you wish to use this code.

Licensed under the MIT License

Copyright (c) 2021 - present | Javiann Marrero

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

License:MIT License


Languages

Language:JavaScript 100.0%