GithubHelp home page GithubHelp logo

clameater14 / stockity Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.36 MB

An inventory tracking app where you can add, edit and remove products along with their stocks. Part of Shopify Backend Developer Intern Challenge 2022.

TypeScript 96.82% HTML 2.62% CSS 0.56%
typescript rest-api react react-router nestjs-backend

stockity's Introduction

Stockity

Stockity is an inventory tracking app where you can add, edit and remove products along with their stocks. This is a submission for Shopify Backend Developer Intern Challenge 2022.

Running the Application

You can run the app using multiple methods.

Environment Setup

The following steps in this section are all mandatory!

  1. Make sure Node.js is installed!
  2. Install Yarn using npm install -g yarn.

Running the API and website separately

  1. Clone the project to your directory with git clone https://github.com/CalebLam14/stockity.
  2. Open a command line (in the stockity repo) and go to the stockity-api directory using cd stockity-api.
  3. Run yarn install, then yarn start after finishing. Feel free to wait for the API to finish setting up.
  4. Open another command line and go to the stockity-site directory using cd stockity-site.
  5. Run yarn install, then yarn start after finishing. Feel free to wait for the website to finish setting up.
  6. The API is available at http://localhost:8000; and the website is available at http://localhost:3000.
  7. To stop each process, use Ctrl/Cmd + C in each command line. If asked, terminate the batch job by responding with Y.

Running the API and website in one command

  1. Clone the project to your directory with git clone https://github.com/CalebLam14/stockity.
  2. Open a command line (in the stockity repo), then run yarn install to install the necessary dependencies for Yarn to run the app.
  3. Run yarn start. This will initialize both the API and website repositories and run both of them concurrently.
  4. Wait for both the API and the website to finish setting up. If all goes well, then the Stockity website should appear in your browser.
  5. To stop both processes, press Ctrl/Cmd + C, then keep pressing Enter or Ctrl/Cmd + C until the command is finished. If asked, terminate the batch job by responding with Y.

Using the App

  • Click on the "+" button on the top left to create a product.
  • Click on a product you created to view its details.
  • On the top right, you can click on the pencil button to edit and trash bin button to delete it.

stockity's People

Contributors

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