Keine Beschreibung

Lee Morgan 1f1f7d28ea Update for nginx. vor 9 Monaten
controllers 20260a2d23 Update everything for deployment. vor 2 Jahren
emails d711a85018 Change password reset email to be mostly plaintext. vor 5 Jahren
models 0d5bf98a3a Display bottle size in ingredient edit sidebar. vor 5 Jahren
views 19341212d6 Update for re-deploy vor 2 Jahren
.gitignore 7e499c2097 Realize the census.gov geocoding API is dogshit and unreliable. vor 5 Jahren
README.md e0c3a4cc74 Update README vor 5 Jahren
app.js 1f1f7d28ea Update for nginx. vor 9 Monaten
middleware.js 47d0d29945 Users can now log in. vor 5 Jahren
package-lock.json 20260a2d23 Update everything for deployment. vor 2 Jahren
package.json 20260a2d23 Update everything for deployment. vor 2 Jahren
routes.js f9ca546514 Remove multer. vor 5 Jahren
validator.js b6bd335d90 Add backend for creating and setting up new merchant from square. vor 5 Jahren

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'