{"id":25739837,"url":"https://github.com/hasin023/medi-ease-nextjs","last_synced_at":"2026-04-30T02:37:21.880Z","repository":{"id":243339684,"uuid":"790238212","full_name":"hasin023/medi-ease-nextjs","owner":"hasin023","description":"A medical centre management system for the medical centre of Islamic University of Technology","archived":false,"fork":false,"pushed_at":"2024-06-08T17:40:35.000Z","size":14282,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T21:06:32.813Z","etag":null,"topics":["authjs","nextjs14","postgresql","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasin023.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-22T14:13:44.000Z","updated_at":"2025-03-03T18:46:44.000Z","dependencies_parsed_at":"2024-06-08T07:22:49.214Z","dependency_job_id":"77f85863-5a46-4d9a-8dde-9290e69a2acb","html_url":"https://github.com/hasin023/medi-ease-nextjs","commit_stats":null,"previous_names":["hasin023/medi-ease-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasin023/medi-ease-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasin023%2Fmedi-ease-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasin023%2Fmedi-ease-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasin023%2Fmedi-ease-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasin023%2Fmedi-ease-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasin023","download_url":"https://codeload.github.com/hasin023/medi-ease-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasin023%2Fmedi-ease-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32452741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authjs","nextjs14","postgresql","typescript"],"created_at":"2025-02-26T08:30:27.995Z","updated_at":"2026-04-30T02:37:21.866Z","avatar_url":"https://github.com/hasin023.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediEase\n\nMediEase is a web application that helps users to find the best doctors and hospitals in their area. It also provides a platform for users to book appointments with doctors and hospitals.\n\n## Running the project locally\n\nTo run the project locally, you need to have Node.js installed on your machine. You can download Node.js from [here](https://nodejs.org/en). You will also need postgresql installed on your machine. You can download postgresql from [here](https://www.postgresql.org/).\n\n### Installing the dependencies\n\nAfter installing Node.js and postgresql, you need to install the dependencies of the `package.json` file.\n\n```bash\nnpm install\n```\n\n### Setting up the environment variables\n\nYou need to create a `.env` file in the root directory of the project. You can copy the contents of the `.env.example` file and paste it in the .env file.\n\n- Replace the `DATABASE_URL` with the connection string of your postgresql database.\n- Replace the `JWT_SECRET` with a random string. This will be used to sign the JWT tokens.\n- Replace the `HUGGINGFACE_API_KEY` with the API key for the Huggingface API. You can get the API key by signing up on the Huggingface website.\n- Replace the `RESEND_API_KEY` with the API key for the Resend API. You can get the API key by signing up on the Resend website.\n\n### Setting up the database\n\nFirst, You need to create a `.env` file in the root directory of the project. You can copy the contents of the `.env.example` file and paste it in the .env file. You need to replace the `DATABASE_URL` with the connection string of your postgresql database. For more information on how to create a connection string, you can check the [Prisma documentation](https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-postgresql) on how to set up a postgresql database.\n\nOnce you have set up the connection string, you can run the following commands to create and push the database schema:\n\n```bash\nnpx prisma generate\n\nnpx prisma db push\n```\n\nAll the models are defined in the `schema.prisma` file in the `/prisma` directory. You can modify the models in the `schema.prisma` file and run the above commands to update the database schema. The corresponding schemas for hook-form zod validation are defined in the `/schemas` directory within the `index.ts` file.\n\n### Running the development server\n\nAfter setting up the database, you can run the following command to start the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Project Features\n\n### Create an Admin User\n\nOn startup, the application will render the Landing page. From there one can login to an existing account. But to create an Admin user, one must first need to go to the `/auth/register` route and create an account. After creating an account, one can go to the `/auth/login` route and login to the admin account.\n\n### Admin Dashboard\n\nAfter logging in as an admin, one can access the admin dashboard by clicking on the `Admin Dashboard` button in the profile page. The admin dashboard provides the following functionalities:\n\n- Add, edit, delete users (Patients, Doctors, Admins)\n- But one admin cannot delete another admin.\n- Add doctor availability\n- Add, Edit, Delete medcinies\n- Add, Edit, Delete tests\n- Approve or Reject reimbursement requests\n\n### Patient Dashboard\n\nAfter logging in as a patient, one can access the patient dashboard by clicking on the `Patient Dashboard` button in the profile page. The patient dashboard provides the following functionalities:\n\n- Book an appointment with a doctor\n- View all the appointments\n- View all the doctors\n- Request for reimbursement\n- View all the reimbursement requests\n- See their total due reimbursement amount\n\n### Doctor Dashboard\n\nAfter logging in as a doctor, one can access the doctor dashboard by clicking on the `Doctor Dashboard` button in the profile page. The doctor dashboard provides the following functionalities:\n\n- View all the appointments\n- Prescribe medicines and tests to patients\n\n## Contributers\n\n- [Ahmed Alfey Sani](https://github.com/AASani29)\n- [Shefayat E- Shams Adib](https://github.com/Shefwef)\n- [Hasin Mahtab Alvee](https://github.com/hasin023)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasin023%2Fmedi-ease-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasin023%2Fmedi-ease-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasin023%2Fmedi-ease-nextjs/lists"}