a Snack Store on Sails v1 application.
- Node v8.4
- SailsJS v1.0.1
- PostgreSQL v9.4
- MongoDB v3.4 (For sessions)
- Create a Database on PostgreSQL.
- Restore
store_backup.sql
located at the project root directory.
- Right click on created database and select Restore… option.
- Select the backup file.
- Enable the following options: Pre-data, Data, Post-data. Click the Restore button.
$ npm install [email protected] -g
$ npm install
$ DATABASE_URL='postgresql://user:pass@host:port/db' MONGODB_URI='mongodb://user:pass@host/db' sails lift
DATABASE_URL='postgresql://app_user:app_pass@localhost:5432/store' MONGODB_URI='mongodb://hero4:[email protected]:153/store_453'sails lift
It has a small setup for login and signup.
A collection of requests and variables for POSTMAN is included in requirements.postman_collection.json
file located at the project root directory. The Request CSRF Token should be sent first in order to adquire the CSRF token for the next requests.
This app was originally generated on Wed May 02 2018 15:01:34 GMT-0600 (CST) using Sails v1.0.1.