Git Product home page Git Product logo

drink-inventory's Introduction

Basic Drink Inventory Website

A basic react Website that tracks the inventory of alcoholic drinks and their mixing materials


How to Run with Docker (recommended):

  • Clone the repository
  • cd into the API directory
  • on Windows run: ./dockerRun.bat
  • on Linux run : ./dockerRun.sh
  • in another terminal cd back to react app
  • edit the .env file for your wanted ip-address:port (make sure the port matches the exposed port from the api dockerRun default :8080)
  • on Windows run: ./dockerRun.bat
  • on Linux run : ./dockerRun.sh

How to Run without Docker (not recommended):

  • Clone the repository
  • cd into the API directory
  • run npm install
  • inside AmazonPriceFetcher.js change var browser = await puppeteer.launch({...}) to var browser = await puppeteer.launch()
  • run node .
  • in another terminal cd back to react app
  • run npm run build
  • run serve -s build or host the static version from the build directory with your Webserver of choice

TODO

  • Add Mockup Design
  • Add Basic Mobile Support
  • Add API
  • Add API calls to DB/Storage
  • Fetch Data from API on Load
  • cleanup Layouting
  • Refractor URL to API
  • Add Amazon price scraper
  • Add search functionality
  • Add routing
  • Add a Add Drink Button (name, amount, image?)
  • Add a Default Page in case API is not available
  • Add Remove Drink Button
  • Add visual Form validation
  • Add PWA Support
  • Add basic Docker support
  • Add SSL cert

drink-inventory's People

Contributors

doniel-t 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.