A Node.js-based backend for Hospitality-MobileClient which can be used to find out the nearest hospitals to you in a specific given input range and can be used to check the statistics and the availabilities of the hospitals. Moreover, users can also book appointments with respective hospitals.
- It is a two-faced application i.e. there are two clients:
Hospital
&Patient
. - Both hospitals and users will signup and provide their locations to the application.
- When a user will provide an input distance to the app, our algorithm will find out the nearest hospitals to him/her within the provided input distance.
- Hospitals will have to update their statistics (like total beds, available beds, total doctors, available doctors, hospital availability etc) regularly.
- Users can check out the hospitals' stats and can request for an appointment booking with the hospital as per the hospital availability stats provided by the hospital.
- Hospitals will response to these bookings as per their availability and convenience.
- Search hospitals near you with the help of our custom algorithm.
- Get the location of the hospitals on Google Maps.
- JWT-Token-based authentication system.
- Request for appointment booking and track the appointment status.
- Node.js for backend development.
- Flutter for mobile application development.
- Google Maps API for showing the hospitals' search result on Google Maps.
- Docker for development and deployment purposes.
- SendGrid for SMTP purposes.
- To run this app, follow the steps below:
-
- Run
npm install
in the terminal in the project's directory to install the dependencies.
- Run
-
- Create a file named
keys.js
and place it inconfig
folder of the project's directory.
- Create a file named
-
- In
keys.js
export an object with keys:mongoURI
,secretOrKey
,API_KEY
and values:YOUR_OWN_MONGODB_URI
,JWT_SECRET_KEY
,YOUR_OWN_SENDGRID_APIKEY
respectively.
- In
-
- So, your
keys.js
will look like this:
- So, your
module.exports = {
mongoURI:
"YOUR_OWN_MONGODB_URI",
secretOrKey: "JWT_SECRET_KEY",
API_KEY: "YOUR_OWN_SENDGRID_APIKEY",
};