|
|
hai 9 meses | |
|---|---|---|
| controllers | %!s(int64=2) %!d(string=hai) anos | |
| emails | %!s(int64=5) %!d(string=hai) anos | |
| models | %!s(int64=5) %!d(string=hai) anos | |
| views | %!s(int64=2) %!d(string=hai) anos | |
| .gitignore | %!s(int64=5) %!d(string=hai) anos | |
| README.md | %!s(int64=5) %!d(string=hai) anos | |
| app.js | hai 9 meses | |
| middleware.js | %!s(int64=5) %!d(string=hai) anos | |
| package-lock.json | %!s(int64=2) %!d(string=hai) anos | |
| package.json | %!s(int64=2) %!d(string=hai) anos | |
| routes.js | %!s(int64=5) %!d(string=hai) anos | |
| validator.js | %!s(int64=5) %!d(string=hai) anos |
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.
Install MongoDB https://docs.mongodb.com/manual/installation/
Ensure node is installed. Install if not. Version 10 or higher. $ node --version https://nodejs.org/en/
$ git clone https://github.com/The-Subline/Inventory-Management.git
$ npm install
$ npm install -g nodemon (only if you are developing or adding code)
Create two environment variables: PORT="8080" SUBLINE_DB="mongodb://localhost/InventoryManagement" SITE="localhost:8080" NODE_ENV="development
Mac/Linux Instructions:
Windows Instructions: https://ubuntu.com/download/desktop
$ sudo service mongod start
$ nodemon app.js (if developing) $ node app.js (to view)
Open a browser and go to 'localhost:8080'