Giter VIP home page Giter VIP logo

mcauliffe-co-website-back-end's Introduction

McAuliffe-Co-Website-Back-End

License: MIT

Table of Contents

Installation

To install, please clone this repository to your computer using the following steps in Github:

  1. Click the "Code" dropdown menu and copy the SSH URL.
  2. Open your terminal and navigate to the directory you would like to clone this repository into.
  3. Type "git clone ", replacing with your copied SSH URL. You can substitute an SSH URL with an HTTPS URL.
  4. Press enter.

Description

This is the back-end of an e-commerce site for the (fictional) company "McAuliffe Co." This website uses node and sequelize to maintain a database of the products McAuliffe Co. sells online, with sub-tables based on category, product, and tag.

If a user utilizes Insomnia or a similar API client application, the user can add, update, or remove any categories, products, or tags of their choice.

Usage

Enter the following commands via the terminal for server.js to ensure node is installed and your sql database is running:

npm install psql -U postgres \i database/schema.sql \q node seeds/index.js node server.js

Once you have confirmed the server is running, the user can navigate to Insomnia or a similar program to issue GET, POST, PUT, or DELETE commands so the user can view or update the database.

Screenshot

GET commands can be entered to retrieve either lists of all or individual categories, products, and/or tags. Individual items can be gathered by ID.

POST commands can be entered to create new categories, products, and/or tags.

PUT commands can be entered to update existing categories, products, and/or tags by ID.

DELETE commands can be entered to remove existing categories, products, and/or tags by ID.

Please see this video demo. If unable to view, you can also find the video in assets/videos/screenrecording1.mov.

Contributions

When contributing to this repository, please reach out to me via e-mail to discuss the change you would like to make first. I am open to ideas both with regards to data stored in the tables and alterations to user interaction with the data.

License

This project is licensed under the MIT License. For more information, please see the MIT License.

Credits

This program was created by Jacob McAuliffe for the UC Berkeley eDX Coding Boot Camp.

Tests

In the future, I would like to incorporate both more data within both the database and tables. There's opportunity to expand the tables into categories such as release date, items sold, or manufacturer. The tables themselves could also be expanded to include much of this new information, creating a more organized and user-friendly back-end experience.

Questions

If you have further questions, you can reach me at [email protected].

GitHub Account: jacobmca

mcauliffe-co-website-back-end's People

Contributors

jacobmca avatar

Watchers

Lucian avatar  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.