Coder Social home page Coder Social logo

e-commerce-backend's Introduction

E-Commerce Back End

Description

For this project, I was tasked to build the back end for an e-commerce site by modifying starter code. I configured a working Express.js API to use Sequelize to interact with a MySQL database in order to accomplish this goal. This challenge was especially difficult for me because my weakness so far in the boot camp has been creating and testing routes with Insomnia. The application isn't perfect yet, but it does fulfill the User Story and the challenge requirements.

Table of Contents

Installation

  1. Clone the project repository to your local machine.

  2. Replace all credentials in the .env file with your own respective information (besides the DB_NAME).

Usage

  1. In the terminal, navigate to the project directory and run npm install to install the required dependencies.

  2. In the terminal, log into MySQL using mysql -u [your username here] - p and type in your password.

  3. Source the schema.sql using SOURCE db/schema.sql

  4. Type exit and press enter.

  5. Back in the terminal, run npm run seed.

  6. Run npm run watch

  7. Done!

If these instructions are unclear, click on the VHS tape below to watch the tutorial video:

Video:

If you do not own a VCR player, or cannot locate one, then we apologize for the inconvenience. E-Commerce wasn't all it's cracked up to be if I'm gonna be honest. We're really pinchin' pennies over here. Couldn't afford a storage unit. There's a pile of loose button-downs and jeans on a lawn chair next to my bed. Every morning I wake up and look at that pile. Knowing full well I haven't sold a damn thing. Ha, I wouldn't buy them. I really wouldn't. But here we are. $80,000 later. I took out a mortgage for this. And for what? For what? One minute you're cutting the red ribbon. The next you're taking the nice plates out of your kitchen cabinet to hide another shipment of cargo shorts. Maybe this is what Elizabeth was talking about when she left. Maybe she was right.

In other news, we're currently hiring software developers to modernize our business technologies!

Interested applicants can apply here.


That was a joke.


Or was it?





It was. Sorry.





...?

License

This project has been released under the MIT license.

license


Questions

e-commerce-backend's People

Contributors

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