Giter Club home page Giter Club logo

ecommerce-stocktracker's Introduction

Stock Tracker for your business

Description

This is a node application to help you keep track of your stocks. On top of that it also gives you the ability to sort out your stocks by categories and tags to improve user experience when they are searching for an item in your online shop. Easing the user experience with an advanced backend database system.

Installation

Install the prerequisite package by running the command below:

npm i

After that you need to get the .env.EXAMPLE file and remove the .EXAMPLE from the name. Then fill in the username and password of your mysql inside the single quotes.

Then you would need to seed the data into the database to run some testing. Use the command below:

node seeds/index.js

Run

To run the app, use the command below:

npm start

Usage

Once the application is up and running, you can test out the database using insomnia. Do a GET, PUT, POST, DELETE request using the different API routes. The routes consist of:

  • /api/products
  • /api/tags
  • /api/categories

for PUT, POST, and DELETE request, you need to put the id after the api routes. E.g. /api/products/1

Or if you want to GET the specific 1 object, you can do the same with the GET request.

More details of how it works is shown in the video walkthrough below.

Video Walkthrough

https://drive.google.com/file/d/1uRbMObCH8zIPOFCagu2hCDm0mM1eg_eL/view

License

License: MIT

Questions

Reach out to me using the links below:

GitHub: @mecuboi

Email: [email protected]

ecommerce-stocktracker's People

Contributors

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