Skip to content

A tool to find the optimal route to services in a neighborhood using the nearest neighbor algorithm to solve a flavour of the Travelling Salesman Problem (TSP).

License

Notifications You must be signed in to change notification settings

vinzee/shopping_planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Planner using TSP

Shopping Planner using TSP.

Installing NodeJS

$ sudo apt-get install nodejs
$ sudo apt-get install npm
$ sudo apt-get install build-essential

Start the mongo daemon

$ sudo mongod --dbpath=/var/lib/mongodb

Starting the app

$ npm install
$ bower install
$ sudo npm install -g yo grunt grunt-cli bower
$ sudo npm install -g express-generator express-mongoose-generator generator-bootstrap generator-mongoose
$ sudo npm install geolib
$ npm start
$ Goto - http://localhost:3000

Building application

Install dependencies
$ bower install <package-name>
Add required dependencies from existing code
$ bower install

One time setup per project

https://expressjs.com/en/starter/generator.html

Scaffold Generator

yo mongoose:schema "shop|name:String,type:String,category:String,subcategory:String,coordinates:Array,city:String,country:String,address:String,postcode:String,owner:String,phone:String"
yo mongoose:schema "product|name:String,type:String"

Software

Important Links -

About

A tool to find the optimal route to services in a neighborhood using the nearest neighbor algorithm to solve a flavour of the Travelling Salesman Problem (TSP).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published