ecommerce-back-end

Description

Ecommerce backend is a project that uses tables that have relationships with each other to pull up and view, update, create, and delete inventory in various ways via insomnia. This project was created so it could assist the users in monitoring large inventory easily and simply by using names of products and categories as well as id numbers. Through this project I was able to showcase my skills in what I have learned regarding models, and relationships among other ORM functions.

Table of Contents (Optional)

Installation

To install the project follow the steps listed below:

  1. Navigate to https://becca6758.github.io/ecommerce-back-end/
  2. Either copy the code or pull the repository from the webpage
  3. If repo code is copied, paste the code into your terminal or program equivlant after the git clone command
  4. Install any packages that comes with the program by entering npm i in your terminal or program equivlent

Usage

To use this application follow the directions below:

  1. Enter node server.js command or other command equivlent in your terminal or program equivlant
  2. Open Insomnia or other program equivlent
  3. Create a Request collection or function equivlant and name it Ecommerce or a different name suitable.
  4. Create folders named “Categories”, “Tag”, and “Products”
  5. Create a GET request for all items, a GET request for items by ID, POST request, PUT request, and a DELTE request in each folder which the appopriate label for each request.
  6. SEND the requests to view results.

“https://drive.google.com/file/d/1cgVuE0MLE5C8mWL9FiV5e_qjSYvGAUmP/view?usp=sharing”

Credits

Just Me

License

MIT License

Copyright (c) [2022] [Rebecca Yu]

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 C