Giter Club home page Giter Club logo

e-com's Introduction

E-com

Description

My motivation for this application was to practice using sequelize to create a database for an e-commerce store. I built it to be able to connect different api endpoints to a sql database that was created and seeded using js, express, mysql2, and sequelize. It solves the problem of organizing and being able to retrieve and update information about the products in the online store. I learned a lot about the relationships between the data and how to connect a sql database to an application and utilize it using sequelize.

Table of Contents (Optional)

Installation

To install, clone the repo using git clone and set up your connection to your database. You need to change the sequelize sync in server.js to force: true to drop and create the database, when you run node server.js in terminal. Close server then run npm run seed to seed database, if you dont want to add some data to start. Change sequelize sync back to force: false, then you can run node server.js to access your database.

Usage

After creating the db and opening the server with node server.js. You can Create, Update, Delete and Get information on the products, categories, and tags using the api endpoints /api/categories /api/categories/:id /api/products/ /api/products/:id /api/tags /api/tags/:id. View the link of a demo video showcasing the CRUD for each table. DEMO VIDEO

Credits

Ed X Bootcamps Utilized express, node, mysql, and sequelize

License

N/A


e-com's People

Contributors

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