Žiadny popis

Lee Morgan 550ed06c54 Add loader to all fetch statement 6 rokov pred
controllers 53b5de6b0b Fix removing of ingredients 6 rokov pred
models 7fd90e0f41 Enable the creation of new orders 6 rokov pred
views 550ed06c54 Add loader to all fetch statement 6 rokov pred
.gitignore 4590f0cdf0 Re-add on new computer 6 rokov pred
README.md 4590f0cdf0 Re-add on new computer 6 rokov pred
app.js f07841d8f1 Fixed ability to add new ingredients 6 rokov pred
package-lock.json 9233b22844 Add comppresion 6 rokov pred
package.json 9233b22844 Add comppresion 6 rokov pred
routes.js 329db46a7d Ad functionality for adding new ingredients to the merchant 6 rokov pred

README.md

Subline Inventory Management

Subline Inventory Management is a system for companies to track, update and manage their inventory in real time. It is also a tool for gathering and analyzing data on inventory in order to better manage future costs and reduce food waste for restaurants.

Getting Started

  1. Install MongoDB https://docs.mongodb.com/manual/installation/

  2. Ensure node is installed. Install if not. Version 10 or higher. $ node --version https://nodejs.org/en/

  3. $ git clone https://github.com/The-Subline/Inventory-Management.git

  4. $ npm install

  5. $ npm install -g nodemon (only if you are developing or adding code)

  6. Create two environment variables: export PORT="8080" export SUBLINE="mongodb://localhost/InventoryManagement"

    Mac/Linux Instructions:

    1. Open '.bashrc' or .bash_profile' from the home directory
    2. Type the two variables at the bottom file
    3. Save file
    4. Close and re-open terminal

    Windows Instructions: https://ubuntu.com/download/desktop

  7. $ sudo service mongod start

  8. $ nodemon app.js (if developing) $ node app.js (to view)

  9. Open a browser and go to 'localhost:8000'