The aim is to build a webapp for showing the safest route between two locations by considering all the nearby COVID hotspots.
In the times of corona pandemic the main concern of all residents is how to reach a destination without going through hotspots or in which we have least exposure to hotspots. Since Unlock procedure has started there is no containment zones of 200-300m radius created as they were initially, instead now only the building is being sealed that too just a banner is put outside the building with no restrictions in going in and out. Thus to be safe from exposure to covid infected patients we need a route which goes through as many least hotspots as possible.
npm should be installed in the computer
if not installed go to https://phoenixnap.com/kb/install-node-js-npm-on-windows
A step by step series of how to set up code locally
The steps are as follows:
clone the code using "git clone "https://github.com/HAC-2020/CodeZera.git""
run "npm install" in the CodeZera folder
api keys needs to be changed
.env file needs to be added to connect to your local database
refer to server/databse.js for what all values are needed in .env file
first comment second last line of server,js file and start server using node server/sevrer.js
this to to generate database. After gnerating press cntrl+C
then comment the code and again start server
at last open index.html
To generate route one needs to enter source and destination location. (Both loations should be of Surat city)
The project can de deployd using heroku server
If u dont how to deploy using heroku please go through https://devcenter.heroku.com/categories/deployment
- HTML CSS Javascript - The web framework used
- HERE Map API Google Maps API- APIs Used
- Node JS - Used for Back-End
- MySQL - Used for database