This web application was created during the API Fest 2022 by team 200OK which helps the user search for hospitals across India based on a variety of parameters. We created a Hospital API with the help of Postman to create a working prototype.
The Hospital API features searching by applying the following filters:
-State
-District
-Pincode
-Whether it is a COVID facilitated hospital
-Whether it is an Army Empanelled Hospital
-Whether it is funded by Government or Private
The Hospital API can also be used to add or delete a hospital from the database.
We can also update information like Available beds through this API.
Amreet Kumar Khuntia |
Anurag Rawat |
Bijoy V Babu |
Navya Nihal |
Sujal Sharma |
- ReactJs
- Django
- Postman
- OpenAPI
Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app
npm install -g create-react-appDjango is a Python web framework, thus requiring Python to be installed on your machine.To install Python on your machine go to https://python.org/download/, and download a Windows MSI installer for Python In the command prompt, execute the following command:
pip install djangoThis will download and install Django.
After the installation has completed, you can verify your Django installation by executing
django-admin --version in the command prompt.
Clone the project in localhost
git clone https://github.com/sumana2001/200OK-frontend.gitInstall all the npm packages. Go into the client folder and type the following command to install all npm packages
npm installIn order to run the application in development mode type the following command
npm startThe Application Runs on localhost:3000
Clone the project in localhost
git clone https://github.com/sumana2001/200OK-backend.gitIt is necessary to create the initial migration for the models to synchronize the SQLite database for the first time. Type these commands in the terminal
python manage.py makemigrations
python manage.py migrateIn order to run the application in development mode type the following command
python manage.py runserverThe Application Runs on localhost:8000



