A MERN Web App in which patients can make requests to the ambulance person in real time and depending upon the patient's location, the nearby ambulance will respond to the patients' request.
- Clone this repo first.
- Make sure you have Node installed.
- To install the server side packages , do
npm install
. - Then do
cd client
and donpm install
to install the client side packages. - Go to config folder and in the keys.js, add your own MongoURI.
- Do
npm run dev
to run the development server. - Now go to http://localhost:3000 and set your own location as patient and make request to the ambulance.
- Open http://localhost:3000/01 , http://localhost:3000/02 till 04 in other tabs .
- The nearby ambulance will receive the requests and thus requests can be accepted from there.
This is basic web app for now with hardcoded values/sample data , it will be updated with more features like heat map and patient handle and ambulance handle in the future. Till then, feel free to raise a PR.