NM PPT
NM PPT
USING MERN
Presentation
by,
AMRITHA P (311521104005)
CATHERINE MARIA P (311521104007)
SHRUTHI PRIYAA GK (311521104054)
SULAKSHA BK (311521104059)
CONTENTS
• INTRODUCTION
• PROJECT OVERVIEW
• ARCHITECTURE
• SETUP INSTRUCTION
• FOLDER STRUCTURE
• RUNNING THE APPLICATION
• API DOCUMENTATION
• AUTHENTICATION
• USER INTERFACE
• TESTING
• SCREENSHOTS OR DEMO
• KNOWN ISSUES
• FUTURE ENHANCEMENT
• CONCLUSION
INTRODUCTION
• The “Book a Doctor” project aims
streamline the medical appointments
booking process by creating a user -
friendly online platforms that allows
patience to find, book, and manage
appointments with healthcare
providers efficiently.
• Additionally, it aims to improve
healthcare service quality by
allowing doctors to manage their
schedules, view patient records,
and update appointment statues in
real-time.
PROJECT OVERVIEW
PURPOSE FEATURES
• The "Book a Doctor" project aims to 1. User Registration and Profile Management
streamline the medical appointment 2. Doctor Search and Filtering
booking process by creating a user- 3. Real-Time Appointment Booking
friendly online platform that allows 4. Document Upload and Storage
patients to find, book, and manage 5. Appointment Management for Patients
appointments with healthcare providers
and Doctors
efficiently.
• By transitioning from traditional
6. Admin Role for System Oversight
appointment scheduling methods—often
7. Notification and Reminder System
involving long hold times, limited office 8. Post-Appointment Follow-Up and Record
hours, and manual record-keeping—to a Updates
digital system, this project enhances 9. Responsive and Interactive UI
accessibility, convenience, and time 10. Scalable and Secure Backend
efficiency for both patients and doctors. Architecture
ARCHITECTURE
SETUP
INSTRUCTIONS
PREREQUISITES INSTALLATION
1. Open another terminal window and navigate to 1. Navigate to the server directory:
the client directory: cd server
cd client 2. Install the necessary backend dependencies:
2. Install the frontend dependencies: npm install
npm install 3. Create a .env file in the root of the server directory
3. Start the frontend server : and add your environment :
npm start
The frontend server will launch at 4. Start the backend server:
http://localhost:3000 npm start
The server will run on
http://localhost:5000 by default (unless you specify
a different port in the .env file.
API DOCUMENTATION
REQUEST BODY
{ "name": "John Doe", "email":
"[email protected]", "password":
"password123", "role": "patient" // Options:
"patient", "doctor", "admin" }
EXAMPLE RESPONSE:
{ "message": "User registered successfully",
"userId": "12345" }
AUTHENTICATIO
N
The "Book a Doctor" application employs a
JWT (JSON Web Token)-based
authentication and authorization approach,
allowing secure user sessions without the
need for persistent server-side sessions.
1.USER AUTHENTICATION
• Registration
• Login
1.TOKEN GENERATION AND
STRUCTURE
• User ID
• Role
• Expiration
1.AUTHORIZATION
• Role-Based Access Control
USER INTERFACE
LOGIN AND REGISTERATION LOGIN AND REGISTERATION
SCREENS SCAPPOINTMENT BOOKING PAGEREENS
1. UNIT TESTING
2. INTEGRATION TESTING
3. END-TO-END (E2E) TESTING
4. MANUAL TESTING
5. CODE COVERAGE
6. CONTINUOUS INTEGRATION (CI)
SCREENSHOTS OR DEMO
1. LOGIN PAGE:
3. APPOINTMENT BOOKNG PAGE:
2. ADMIN PAGE :