-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
67 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright 2024 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,80 @@ | ||
# Patient Fitness Tracker | ||
|
||
[![My Skills](https://skillicons.dev/icons?i=nextjs,tailwindcss,mongodb&theme=dark)](https://skillicons.dev) | ||
## [![My Skills](https://skillicons.dev/icons?i=nextjs,tailwindcss,githubactions,mongodb,vercel,ts,docker&theme=dark)](https://skillicons.dev) | ||
|
||
[![Build](https://img.shields.io/github/actions/workflow/status/ad956/patient-fitness-tracker/tests.yml?branch=main)](https://img.shields.io) | ||
|
||
The Patient Fitness Tracker is a modern healthcare platform designed to streamline patient management and monitoring across multiple hospitals. It empowers patients to take control of their health journey while enabling healthcare providers to deliver personalized care efficiently. | ||
|
||
## Features | ||
|
||
- **User Authentication:** Secure registration and login for patients, hospital staff, and administrators. | ||
- **User Authentication:** Secure registration and login for patients and hospital staff. | ||
- **Dashboard:** Personalized dashboards for patients, hospitals, and admins for efficient data management. | ||
- **Patient Management:** Profile management, medical history, and seamless access to patient records across hospitals. | ||
- **Appointment Scheduling:** Easy scheduling and management of appointments for patients and hospital staff. | ||
- **Health Monitoring:** Integration with fitness trackers and wearables for tracking health metrics. | ||
- **Data Analytics:** Generate reports and analyze trends in patient data for improved healthcare delivery. | ||
- **Interoperability:** Support for interoperability standards like HL7 FHIR for seamless data exchange. | ||
- **Security and Compliance:** Encryption of sensitive data, compliance with healthcare regulations such as HIPAA. | ||
- **Notifications and Alerts:** Real-time notifications for appointments, medication schedules, and health events. | ||
- **Mobile Application:** Companion mobile app for on-the-go access to health data and appointments. | ||
|
||
## Setup Instructions | ||
|
||
1. **Clone the repository:** | ||
|
||
```bash | ||
git clone https://github.com/yourusername/patient-fitness-tracker.git | ||
``` | ||
|
||
2. **Navigate to the project directory:** | ||
|
||
```bash | ||
cd patient-fitness-tracker | ||
``` | ||
|
||
3. **Install dependencies:** | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
4. **Set up environment variables:** | ||
Create a file named `.env.local` in the root directory of your project and add the following environment variables with their corresponding values: | ||
|
||
| Variable | Description | | ||
| -------------------- | ----------------------------------------------------- | | ||
| NEXT_PUBLIC_BASE_URL | Base URL of the application. | | ||
| MONGODB_URI | MongoDB connection URI. | | ||
| SMTP_HOST | Hostname of the SMTP server for sending emails. | | ||
| SMTP_PORT | Port number of the SMTP server. | | ||
| SMTP_USER | Username for SMTP authentication. | | ||
| SMTP_PASSWORD | Password for SMTP authentication. | | ||
| SMTP_FROM_EMAIL | Email address for sending emails. | | ||
| JWT_SECRET | Secret key for JWT token generation and verification. | | ||
|
||
5. **Start the development server:** | ||
```bash | ||
npm run dev | ||
``` | ||
This command will start the Next.js development server. | ||
|
||
### Additional Scripts | ||
|
||
- **Testing with Playwright:** | ||
|
||
- Run tests using Playwright: | ||
```bash | ||
npm test | ||
``` | ||
|
||
- **Linting:** | ||
|
||
- To lint your code using Next.js linting rules: | ||
```bash | ||
npm run lint | ||
``` | ||
|
||
- **Previewing Emails:** | ||
- Use the following command to preview emails: | ||
```bash | ||
npm run preview-email | ||
``` | ||
|
||
📝 **License** | ||
This project is licensed under the [MIT License](LICENSE). |