GitHub - CodingRun15/HealthHub: Backend Deployed Link · GitHub
Skip to content
CodingRun15Public

About

Backend Deployed Link

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

115 Commits

Folders and files

Repository files navigation

HealthHub

HealthHub is a centralized health and wellness management platform designed to empower users to take charge of their health through personalized insights, health tracking, and professional consultations.

Objective

Objective behind choosing this project was to make a scalable and robust MERN application to help user consult doctors, interact with other users on community page and track their health and fitness progress.

Project Type

Full Stack

Backend Deployed Link

https://healthhub-sug1.onrender.com/

Frontend deployed link

https://health-hub-rust.vercel.app/

Directory Structure

📦 HealthHub
├─ .gitignore
├─ Backend
│  ├─ .gitignore
│  ├─ Models
│  │  ├─ appointment.js
│  │  ├─ blacklistModel.js
│  │  ├─ userData.js
│  │  └─ userModel.js
│  ├─ Routers
│  │  ├─ bookApp.js
│  │  └─ userRouter.js
│  ├─ configs
│  │  ├─ .env
│  │  └─ db.js
│  ├─ index.js
│  ├─ middlewares
│  │  ├─ auth.js
│  │  └─ upload.js
│  ├─ package-lock.json
│  ├─ package.json
│  └─ uploads
│     └─ 663c930396cb7e391d856983.pdf
├─ Frontend
│  └─ HealthHubApp
│     ├─ .eslintrc.cjs
│     ├─ .gitignore
│     ├─ README.md
│     ├─ google257e8ce7e50306bb.html
│     ├─ index.html
│     ├─ package-lock.json
│     ├─ package.json
│     ├─ public
│     │  └─ vite.svg
│     ├─ src
│     │  ├─ App.jsx
│     │  ├─ assets
│     │  │  ├─ 6956037.jpg
│     │  │  ├─ BG-WorldMap-Alpha.png
│     │  │  ├─ BannerNoSky.png
│     │  │  ├─ BodyBackground.png
│     │  │  ├─ ConnectFromHome.png
│     │  │  ├─ ConnectFromWork.png
│     │  │  ├─ FindCare.png
│     │  │  ├─ FindCareDevice.png
│     │  │  ├─ FindCareUser.png
│     │  │  ├─ GBCHeader2-e1652631606462.jpg
│     │  │  ├─ Patient-BG-Providers.png
│     │  │  ├─ app-store.png
│     │  │  ├─ appointment.jpg
│     │  │  ├─ beaker.png
│     │  │  ├─ bg-covid.png
│     │  │  ├─ blue-favicon.png
│     │  │  ├─ blue-logo.png
│     │  │  ├─ calendar.png
│     │  │  ├─ chart.png
│     │  │  ├─ circlewithprongs.svg
│     │  │  ├─ clipboard.png
│     │  │  ├─ covid-vaccine.png
│     │  │  ├─ doctor.png
│     │  │  ├─ epic-med.png
│     │  │  ├─ favicon.png
│     │  │  ├─ google-play.png
│     │  │  ├─ header-logo.png
│     │  │  ├─ health_card.png
│     │  │  ├─ logo.png
│     │  │  ├─ map.png
│     │  │  ├─ medications.png
│     │  │  ├─ myhealth-mobileimg.png
│     │  │  ├─ note.png
│     │  │  ├─ speech_bubble_with_video.png
│     │  │  └─ vaccination.svg
│     │  ├─ components
│     │  │  └─ Navbar.jsx
│     │  ├─ css
│     │  │  ├─ Login.css
│     │  │  ├─ Navbar.css
│     │  │  ├─ Signup.css
│     │  │  ├─ bookAppointment.css
│     │  │  └─ homepage.css
│     │  ├─ index.css
│     │  ├─ main.jsx
│     │  ├─ pages
│     │  │  ├─ BookAppointment.jsx
│     │  │  ├─ Dashboard.jsx
│     │  │  ├─ HomePage.jsx
│     │  │  ├─ Login.jsx
│     │  │  └─ Signup.jsx
│     │  └─ routes
│     │     └─ AllRoutes.jsx
│     └─ vite.config.js
└─ README.md

Video Walkthrough of the application

Video walkthrough of the codebase

Features

  1. Responsive and dynamic website
  2. User authentication and authorization
  3. Password hashing for security
  4. File upload system
  5. Auto-email For appointments Booked
  6. Mongo database for reduced server load

Design Decisions or Assumption

  1. Easy registration
  2. Prescription upload option for repeat consultation
  3. Notifications for reminder

Installation

cd frontend/HealthHubApp npm install npm run dev

cd backend node index.js This will run the server on the local host. The deployed server can be reached on https://healthhub-sug1.onrender.com/

Images

WhatsApp Image 2024-05-13 at 5 08 52 PM WhatsApp Image 2024-05-13 at 5 08 50 PM WhatsApp Image 2024-05-13 at 5 08 51 PM WhatsApp Image 2024-05-13 at 5 08 51 PM (1) WhatsApp Image 2024-05-13 at 5 08 51 PM (2)

Mock User Login credentials

Email : "harshbaliyan2@gmail.com"/ password:"harsh1234"

API Endpoints

//GET https://health-hub-rust.vercel.app/
POST for signup
https://health-hub-rust.vercel.app/user/signup
//POST for signin
https://health-hub-rust.vercel.app/user/signin
//POST for signout
https://health-hub-rust.vercel.app/user/signout
//GET dashboard
https://health-hub-rust.vercel.app/user/profile
//POST appointments
https://health-hub-rust.vercel.app/user/appointments/bookapp

Tech Stack

Frontend:

React.JS

Backend :

Server : Express.js
Environment : Node.js
Authentication : Jsonwebtoken
Hashing : bcrypt
Logger : winston
File System : Multer
DataBase : mongodb atlas

About

Backend Deployed Link

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages