Welcome to the frontend repository of our Electronic Health Record (EHR) application. This frontend component is built using Next.js and is hosted on Vercel. It is a fully responsive and user-friendly application designed to provide a comprehensive healthcare management solution.
Visit https://iiitdm-vashisht.vercel.app/login to access the Electronic Health Record (EHR) application. You can sign up
as a patient using your own credentials, or alternatively, you can use the provided doctor and hospital credentials for testing purposes.
- Username (UID): d2
- Password: d2
- Username (UID): h1
- Password: h1
If you sign up as a patient with a new account, there will be no existing records. However, you can use the doctor and hospital credentials
to add records to your account
for testing purposes.
Feel free to explore the application and its features using the provided credentials. If you encounter any issues or have any feedback, please don't hesitate to reach out to us.
- User Authentication: Secure login and registration system using Google OAuth for hospital, patient, and doctor roles. OTP verification is implemented using Amazon SES.
- Role-based Access Control: Different access levels for hospitals, patients, and doctors.
- Hospital Interface:
- Patient Interface:
- Doctor Interface:
- Next.js: React framework for building server-side rendered web applications.
- TypeScript: Typed superset of JavaScript for enhanced developer experience and code quality.
- React: JavaScript library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework for building custom designs.
- D3.js: JavaScript library for data visualization, used for showing graphical forecasts.
- Google OAuth: Authentication mechanism for user login using Google accounts.
- Amazon SES: Service for sending OTP verification emails.
- Vercel: Hosting platform for deploying Next.js applications.
To run the application locally, follow these steps:
- Clone this repository to your local machine.
- Install dependencies using
npm install
. - Set up environment variables for API endpoints, authentication keys, and AWS credentials.
- Run the development server using
npm run dev
. - Access the application in your browser at
http://localhost:3000
.
Contributions to the development and enhancement of this application are welcome! To contribute, please fork the repository, make your changes, and submit a pull request with descriptive comments.