Giter VIP home page Giter VIP logo

orm-ecommerce's Introduction

ORM-ecommerce

Description

The hardest part about this project was making sure all my routes were working in insomnia and the routes were correct. I was stumped for a long time with the models because I kept getting an error with the belongsToMany being wrong and it turns out it was supposed to be hasMany.

There were two errors that never changed for create and update product. However, even if it was a bad request, the data was still added and insomnia was working.

Overall, I enjoyed this project because I like working with insomnia and it went very smoothly even if there was some bumps.

User Story

AS A manager at an internet retail company
I WANT a back end for my e-commerce website that uses the latest technologies
SO THAT my company can compete with other e-commerce companies

Installation

  1. clone repository
  2. npm install mysql and sequelize
  3. dotenv to use environment variable to store sensitive data

Usage

User needs to first run mysql mysql -u root -p and then enter their password. Then they source db/schema.sql, exit mysql and npm run seed.

Initialize the program with npm start

Demo of the assignment through mysql and in insomnia

Links

Demo Link

Github

orm-ecommerce's People

Contributors

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