Skip to content

sumana2001/200OK-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Team 200OK | API Fest 2022🔥

 

What is it? 💡

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.

Team ✨


Amreet Kumar Khuntia

Anurag Rawat

Bijoy V Babu

Navya Nihal

Sujal Sharma

Built With 💕

  • ReactJs
  • Django
  • Postman
  • OpenAPI

Prerequisites 👨‍💻

Install create-react-app

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-app

Install Django

Django 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 django

This 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.

Cloning and Running the Application in local 💻

Clone the project in localhost

git clone https://github.com/sumana2001/200OK-frontend.git

Install all the npm packages. Go into the client folder and type the following command to install all npm packages

npm install

In order to run the application in development mode type the following command

npm start

The Application Runs on localhost:3000

To spin up the backend server

Clone the project in localhost

git clone https://github.com/sumana2001/200OK-backend.git

It 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 migrate

In order to run the application in development mode type the following command

python manage.py runserver

The Application Runs on localhost:8000

Important Links 🔴

  1. Video Demo
  2. Landing Page
  3. Deployed Backend
  4. Frontent Repository
  5. Backend Repository

Screenshots 📸

Screenshot_2022-01-29_at_3 20 18_PM

Screenshot_2022-01-29_at_3 22 33_PM

Screenshot 2022-01-28 at 10 03 34 PM

Screenshot_2022-01-29_at_3 18 05_PM

About

Team 200OK | API Fest 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published