This project aims to be an online companion for offline shopping. It shows user recommendations on what they should check out at a store by a feed generated by their buying statistics. -Gives them easy access to bills and return requests - Gives merchants analytics on their shoppers - give merchants ability to boost products through recommendations. All you ever needed while shopping offline was a catalog of the shop you're currently in. This application dynamically loads the catalog of the shop you're in using location tracking and recommends its best buys based on your history and the shop's specialties.
(During the 16 hour NSIT Evolve Hackathon)
Installation
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
After Installation
sudo apt-get install nodejs-legacy
Check that you have node and npm(comes with node) successfully installed:
$ node -v
$ npm -v
Installation : Follow the official instructions at: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
Check mongo is installed by starting the server:
mongod
User
Merchant
Recommender Engine
Clone the project using git and cd into it:
git clone https://github.com/odin/CloudShopper.git
cd CloudShopper
cd frontend (For the ionic frontend)
cd backend (For the node backend)
Run npm install - this installs all the dependencies of the project (found in package.json) :
npm install
Start Mongo
mongod
Start App
npm start (in the backend folder)
Or wif you are using pm2
pm2 start pm2_debug.json
For starting Ionic Front end
ionic serve (in the frontend folder)
Login - POST http://localhost:3000/users/login
Parameters