Inspiration

My Inspiration for this project is To make system Where user can interact with the application do appointment booking where users can register, log in, and book appointments with doctors. It includes a wallet system for payment . I want a system that can make management of medication simple , basically all the things related in one app.

What it does

Mediwallet

This project is a complete appointment booking system where users can register, log in, and book appointments with doctors. It includes a wallet system for payment .

How I built it

I have used :-

  1. Frontend: HTML, CSS, Bootstrap – For designing the user interface. EJS (Embedded JavaScript) – For rendering dynamic content in templates.

  2. Backend: Node.js & Express.js – For handling server-side logic and API endpoints. Mongoose (MongoDB ODM) – For interacting with the MongoDB database. Passport.js – For user authentication (signup & login).

Express-Session & Connect-Flash – For handling user sessions and displaying notifications.

  1. Database: MongoDB – NoSQL database to store users, doctors, appointments, and wallet transactions.

  2. AI & PDF Processing: Google Gemini API – For analyzing medical bills and providing cost-saving suggestions. pdf-poppler – For converting PDF bills to images for AI analysis. fs (File System) – For handling local file storage and processing.

  3. File Upload & Storage: Multer – For handling PDF uploads from users. Cloudinary (Optional) – For storing and retrieving uploaded documents.

  4. Payment & Wallet System: Wallet Management – Custom implementation using MongoDB to track balance and transactions.

Challenges I ran into

  1. User Authentication & Session Management Implementing secure authentication with Passport.js and handling session expiration efficiently. Ensuring that users remain logged in across different pages without frequent session timeouts.

  2. AI-Powered Bill Analysis Converting PDF medical bills to images for AI analysis using pdf-poppler. Integrating Google Gemini AI API properly to analyze medical bills and provide cost-saving insights. Handling errors when AI API returned unexpected responses or rate limits were exceeded.

  3. Wallet System & Payment Processing Creating a wallet system where users can add funds and make payments for doctor consultations. Ensuring transaction security and updating the database correctly after each payment.

Accomplishments that I am proud of

Firstly, I think ai analysis that really took me a month to understand the concept and execute they are :- . Successfully Implementing AI-Powered Bill Analysis . Integrated Google Gemini AI to analyze medical bills and suggest cost-saving strategies. . Converted PDF bills to images for better AI processing using pdf-poppler.

What we learned

I have learned many Things from this project but the one that think helped me most to improve my knowledge is the use of AI for bill analysis . I have learned how to tackle the problem while developing and refer the documentations and other sources for solving the problems .

What's next for Mediwallet

Mediwallet is just the beginning of an AI-powered medical finance management system. Moving forward, I have exciting plans to enhance its functionality and impact . I think this project needs more improvements like:- . Payment Gateway Support . Appointment Reminders & Smart Scheduling and many more things ...

Share this project:

Updates