reiniergs/inventory — pull request #1 by ecabello (2014-12-16 08:29:37+00:00)
Title: Changed to Sails framework

Now using sails!

I moved your front end stuff to the assets dir where sails expects it. I tried to accommodate your grunt task as best as I could but I'm pretty sure some broke.

Basically make a clone. Go into the directory and run "npm install". I hope I didnt miss any dependency in package.json. Before starting you need to have mongodb running on the localhost. If you need to change things around go into config/connections.js and change as required.

To start the app run "sails lift" or "sails debug". Then browse to http://localhost:1337. You should get a generic sails homepage. Now you can create a User by typing http://localhost:1337/user/create?username=rguerra&password=123. After you succesfully create a user you can test the login functionality by browsing to http://localhost:1337/login

You can create Customers, Warehouses, Products and affect inventory by creating InventoryTransactions.

Let me know what you think...Right now users are not linked to Customers but this is just preliminary work.