healthcare applicaition
A full-stack Health Care web application with secure authentication, protected routes, and a responsive user interface. Built using the MERN stack (MongoDB-ready architecture, Express, React, Node.js).
π₯ Health Care Application
A full-stack Health Care web application with secure authentication, protected routes, and a responsive user interface.
Built using the MERN stack (MongoDB-ready architecture, Express, React, Node.js).
π Features
π Authentication System
User Registration (Name, Email, Password)
Secure Login with token-based authentication
Persistent login using local Storage
Logout with session cleanup
Protected routes (unauthorized users redirected to login)
Demo account for quick testing
π οΈ Tech Stack
Frontend
React.js
HTML
CSS3
Javascript
Backend
Node.js
Express.js
(PRODUCTION READY ARCHITECTURE)
MongoDB integration (datbase)
Password hashing with bcrypt (planned)
JWT Authentication (planned)
π Project Structure
health-application
βββ client # Frontend (React)
βββ server # Backend (Node + Express)
βββ README.md
βοΈ Installation & Setup
1οΈβ£ Clone the repository
git clone https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
cd YOUR_REPO_NAME2οΈβ£ Start Backend
cd server
npm install
npm run dev3οΈβ£ Start Frontend
cd client
npm install
npm startApp runs at:
π http://localhost:3000
π§ͺ Demo Account
Use the following credentials to test the application:
Email: demo@healthcare.com
Password: demo123
π Security Notes
This version is built for development/demo purposes.
For production:
Implement password hashing with
bcryptUse
jsonwebtoken(JWT) with expirationStore users in a database (MongoDB/PostgreSQL)
Use HTTPS
Add rate limiting and CSRF protection
π Future Improvements
Password reset via email
Appointment management system
Admin dashboard
Full production security hardening
Improve UI/UX
Deploy using Docker