Giter Site home page Giter Site logo

200ok-frontend's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.