Skip to content

Lazy-Sprinters/l-hopital

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



SPACEJAM

This is the official repository for the l-hopital Project by Team-Lazy Sprinters for Spacejam.

Problem Statement:

Ever since the COVID-19 Pandemic happened, people are getting more and more concerned about their well-being and health. Testing labs for various diseases are flooded with loads of appointments and due to lack of proper management of the appointments, applicants end up waiting a lot especially during rush hours.

Proposed Solution:

Our solution aims at developing a robust portal that will give the user multiple options for different types of tests with complete details of all slots for a particular date including their vacancies. We will be filtering testing centers and also the distance from the user using geolocation APIs. The users can select a centre based on the reviews and ratings given by other customers.

Using this, the testing labs will also have a single place to check in with all their appointments for all the tests of the day as well as sending out the results through email. They can also provide the details of the facilities they provide.

Facilities Provided:

-> User and Test Centre Registration and Login
-> Validation using OTP
-> Test Centre Appointment booking using Geolocation Here API to show the customers the nearest test centre offering the tests wanted by the user on a particular date and slot
-> Viewing history of all appointments by User
-> Test Centre have the option of sending all the results using email, viewing all appointments and also cancelling
-> They can also add facilities for other tests
-> Review and Rating collection from past customers
-> Sentimental Analysis of the Reviews using NLP SVC Model for informing users what opinion people have of that test centre for better decision making

Tech Stack: (Web Dev, NLP)

Tools:
Visual Studio Code
Sublime Text
Postman
ngrok
Robo 3T
Chrome Developer Tools
Google Colab
MongoDB
Languages:
Python
Javascript
Frameworks:
Reactjs
Nodejs
Flask App

Implementation:

FRONTEND

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

BACKEND

TO RUN ON LOCAL MACHINE

COMMAND: npm run dev in Backend directory

Open http://localhost:5000 to view it in the browser.

  1. Create a .env file in the backend-root directory on your local machine with the following format
    TEST_MAIL=(Mail ID for sending the cancellation messages and verifications emails)
    TEST_PASS=(Password of the mail ID)
    API_KEY=(API KEY for the HERE Platform)
    SECRET=(Secret for the vonage API service)
    VKEY=(Key for the vonage API service)
    SERVICE=(Service of the mail ID as in hotmail,yahoo,gmail etc)
    AUTHSRT=(Token for the authentication service)