Cloak_care
Cloak Care is a web application designed to streamline the management of patient information for healthcare providers. It offers efficient tools for patient registration, record management, appointment scheduling, and automated SMS notifications. Built with Next.js, Tailwind CSS, Appwrite, Twilio, TypeScript, Shadcn, Zod, Sentry etc
Cloak Care
🤖Overview
Cloak Care is a Patient Management System web application designed to help healthcare providers manage patient information efficiently. This system allows for the easy organization, access, and communication of patient data, ensuring streamlined healthcare delivery.
🔋Features
- Patient Registration: Register new patients with their personal and medical information.
- Patient Records: View and update patient records.
- Appointment Scheduling: Schedule and manage patient appointments.
- Notifications: Send appointment reminders and notifications via SMS.
- User Authentication: Secure login and user management.
⚙️Tech Stack
- Next.js: React framework for server-side rendering and generating static websites.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- Appwrite: Backend server for web, mobile, and flutter developers.
- Twilio: Cloud communications platform for sending SMS.
- TypeScript: Typed JavaScript for better code quality and developer experience.
- Shadcn: Component library for building accessible and customizable UI.
- Zod: TypeScript-first schema declaration and validation library.
- Sentry: Application monitoring and error tracking software.
- React Hook Form: Performant, flexible, and extensible forms with easy-to-use validation.
👨🏾💻Installation
Prerequisites
- Node.js (v14.x or later)
- npm (v6.x or later) or Yarn (v1.x or later)
- Appwrite server (setup and running)
- Twilio account with a verified phone number
Steps
Clone the repository:
git clone https://github.com/hollali/cloak_care.git
cd cloak_care
Install dependencies:
npm install
# or
yarn install
Configure environment variables:
Create a .env.local
file in the root of the project and add the following:
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://[YOUR_APPWRITE_ENDPOINT]
NEXT_PUBLIC_APPWRITE_PROJECT_ID=[YOUR_APPWRITE_PROJECT_ID]
NEXT_PUBLIC_TWILIO_ACCOUNT_SID=[YOUR_TWILIO_ACCOUNT_SID]
NEXT_PUBLIC_TWILIO_AUTH_TOKEN=[YOUR_TWILIO_AUTH_TOKEN]
NEXT_PUBLIC_TWILIO_PHONE_NUMBER=[YOUR_TWILIO_PHONE_NUMBER]
NEXT_PUBLIC_SENTRY_DSN=[YOUR_SENTRY_DSN]
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
🖥️Usage📱
Patient Registration
- Navigate to the registration page.
- Fill out the patient's personal and medical information using the form.
- Submit the form to add the patient to the system.
Viewing and Updating Patient Records
- Navigate to the patient records page.
- Select a patient to view their details.
- Edit the information as needed and save the changes.
Appointment Scheduling
- Navigate to the appointment scheduling page.
- Select a patient and choose a date and time for the appointment.
- Submit the form to schedule the appointment.
Sending Notifications
- The system automatically sends SMS reminders for upcoming appointments.
- Ensure the Twilio account and phone number are correctly configured in the environment variables.
🚀Deployment🚀
Vercel
- Connect your GitHub repository to Vercel.
- Set up the environment variables in the Vercel dashboard.
- Deploy the application directly from Vercel.
Manual Deployment
Build the application:
npm run build
# or
yarn build
Start the server:
npm start
# or
yarn start
Access the application at http://localhost:3000.
Contributing
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
).
- Commit your changes (
git commit -m 'Add some feature'
).
- Push to the branch (
git push origin feature/your-feature-name
).
- Open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements