Inspiration
This project is inspired by the difficulties faced in booking an Ambulance during an Emergency Situation.
What it does
Our Web Application allows the user to book an ambulance according to his/her convenience. This Web application fetches the user location through the user's IP address and displays the nearby hospitals with ambulance facility at hand.
How we built it
- The front end is developed using HTML, CSS and JavaScript.
- Database is created and connected to MongoDB Atlas for accessing our data through the cloud.
- Folium library is imported to access the user location and display it on the map.
- Python Library - PyMongo is used for accessing databases in MongoDB Atlas and fetching the information of users and hospitals.
- A function is created to filter the nearby hospital locations and display them as a list as well as on the map.
- Rest API is built with a python framework Fast API to execute the above function (mentioned in the point above).
- The user can select a hospital from the list or he/she can also search for his/her preferred hospital.
- On confirming the booking , the user is directed to a confirmation page displaying the traveler and driver details along with the user and hospital location.
Challenges we ran into
- Time constraint was one of the major challenges we faced.
- Connecting our front-end components to the python module i.e the map and list components.
What we learned
- Displaying specified locations on map on a web application
- Using different libraries, APIs and frameworks
- Hosting and managing our database in MongoDB Atlas.
Accomplishments that we're proud of
-Connecting and compiling scattered data and resources(facilities) for people who are unable to access them in the crucial and precious time at hand.
What's next for FastLance
-Expanding our data collection and network . -Optimizing our service.
Built With
- css3
- fastapi
- folium
- html5
- javascript
- mongodb
- pymongo
- python
Log in or sign up for Devpost to join the conversation.