πŸ₯ Prescripto Appointment App – Simplifying Healthcare Access

AryRAryR
2 min read

Building the Prescripto Appointment App was one of the most rewarding projects I’ve worked on. It combined both frontend and backend challenges, pushing me to create a seamless experience for both patients and healthcare providers.

πŸš€ The Idea

Scheduling doctor appointments can be stressful, especially with long waiting times and poor scheduling systems. I wanted to create an app that allows users to:

  • Book doctor appointments online within a 7-day window

  • Manage their profiles and appointment history

  • Provide a smooth admin and doctor interface for better management

πŸ› οΈ Tech Stack

  • Frontend: React.js, Vite, Tailwind CSS

  • Backend: MongoDB, Node.js, Express

  • Language: JavaScript

  • Deployment: Vercel

πŸ‘¨β€βš•οΈ How It Works

  • User Side:

    • Browse available doctors and slots

    • Book appointments within the next 7 days

    • Manage personal profile and appointment history

  • Admin Side:

    • Built an admin dashboard using React.js and Tailwind CSS

    • Admins can add, edit, or remove doctor profiles

    • Manage appointment schedules and doctor availability

πŸ” Challenges & Solutions

  1. Real-Time Slot Management:

    • Challenge: Ensuring that no two users book the same slot.

    • Solution: Used MongoDB’s atomic updates and transaction locks to handle concurrency.

  2. Admin Dashboard Complexity:

    • Challenge: Handling large sets of data and making the dashboard responsive.

    • Solution: Used virtualization for lists and React Query for efficient state handling.

  3. Backend Security:

    • Challenge: Protecting sensitive data and ensuring user privacy.

    • Solution: Implemented JWT-based authentication and bcrypt for password hashing.

πŸš€ Deployment

Deployed the app on Vercel after multiple rounds of testing. Faced minor CORS issues, which were fixed by adjusting the backend headers.

πŸ† What I Learned

  • Efficient state and slot management

  • Building a secure and responsive admin dashboard

  • Backend security and user authentication best practices

🌟 Why It Matters

Healthcare access should be simple and efficient. This app streamlined the booking process and made it easier for both patients and healthcare providers to manage appointments.


0
Subscribe to my newsletter

Read articles from AryR directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

AryR
AryR

"Full-stack dev figuring things out one project at a time. Sharing my wins, fails, and everything in between. Let’s build cool stuff together! πŸš€"