Нема описа

Lee Morgan 8cd32f3ed3 New orders and new transactions now set the date to the beginning of the day on the frontend before sending the data to the backend. пре 5 година
controllers cf5059b11d Bug Fix: adding an order via spreadsheet did not show up immediately on the frontend because it was still within a for loop. пре 5 година
emails 00f4a5a672 Fixed an innocuous error message in the analytics strand. пре 5 година
models 0ef2f73489 Update the reading of ingredient spreadsheets to follow the new format. пре 5 година
views 8cd32f3ed3 New orders and new transactions now set the date to the beginning of the day on the frontend before sending the data to the backend. пре 5 година
.gitignore 91cf4e29a9 Remove package lock from gitignore пре 5 година
README.md e0c3a4cc74 Update README пре 5 година
app.js 980a8af940 Remove console logs пре 5 година
package-lock.json 7a5cdc1995 Add uploading of spreadsheet to backend. пре 5 година
package.json 7a5cdc1995 Add uploading of spreadsheet to backend. пре 5 година
routes.js 00f4a5a672 Fixed an innocuous error message in the analytics strand. пре 5 година
workspace.html 9893b38620 Create page for entering email in order to reset password. пре 5 година

README.md

Subline Inventory Management

Introduction

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.

The project is a hybrid single page app. After log in, users are given a single page app for interacting with the platform. Everything other than that (landing page, log in, help, etc.) is a more traditional website.

Technologies

  • HTML (ejs)
  • CSS
  • Nodejs
  • Javascript
  • MongoDB

NPM packages

  • axios
  • bcryptjs
  • compression
  • cookie-session
  • ejs
  • express
  • mailgun-js
  • mongoose
  • browserify (dev)
  • watchify (dev)

Setup

  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: PORT="8080" SUBLINE_DB="mongodb://localhost/InventoryManagement" SITE="localhost:8080" NODE_ENV="development

    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:8080'