Git Product home page Git Product logo

tabletop-irc's Introduction

Tabletop Internet Retail Company (Back End)

License: MIT

Description

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.

Uses the MySQL2 and Sequelize packages to connect to a MySQL database.

Uses the dotenv package to use environment variables to store sensitive data, like a user’s MySQL username, password, and database name.

Syncs Sequelize models to a MySQL database on the server start.

Table of Contents

Usage

GIVEN a functional Express.js API, WHEN I add my db name, MySQL username, and MySQL password to an env file, THEN I am able to connect to a db using Sequelize. WHEN I enter schema and seed commands, THEN a development db is created and is seeded with test data.
WHEN I open API GET routes in Insomnia for categories, products, or tags, THEN the data for each of these routes is displayed in a formatted JSON.
WHEN I test API POST, PUT, and DELETE routes in Insomnia, THEN I am able to successfully create, update, and delete data in my db.

Tests

INSOMNIA (see Screenshots & Videos)

Installation

Clone the starter code:https://github.com/coding-boot-camp/fantastic-umbrella npm itit -y, npm i express, npm i mysql2, npm i sequelize, npm i dotenv.

Videos

DEMO VIDEO: Technical Criteria: Create the schema from the MySQL shell; seed the database from the command line; start the application’s server: https://drive.google.com/file/d/1kn-W2XscY0i6Cnogo1wMHzC9Sq2EAuPC/view

Walkthru testing routes for categories, products, and tags in Insomnia: GET ALL and GET BY ID routes https://drive.google.com/file/d/17C_XElLOH4mMaU1pRFxGwzLjEVDjnhRp/view

POST, DELETE and GET ALL routes https://drive.google.com/file/d/1H3szHlngf0jEtBFi6DNrtBjEEu-sTi6G/view

PUT and GET ALL routes https://drive.google.com/file/d/14xAO-uM66GrY-0Delp39BnjANq-k4UX6/view

Contributing

Contact below:

Questions

Have questions? You can find me on GitHub: https://github.com/BeKind-Rewind

Or email me at: [email protected]

License

Licensed under the MIT license.

tabletop-irc's People

Contributors

bekind-rewind 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.