https://github.com/user-attachments/assets/db1f7507-f7df-4e24-97fb-fe4b2a980bce
## Project Screenshot
project_setup.txt
documentationThe DoctorOnCall
System facilitates patients in scheduling appointments with preferred doctors or Emergency Appointments set up via an online platform.
Developed using the React, Nodejs, and Prisma stack, it offers a professional website with dynamic functionalities. Key features include dynamic home, Email Notification, Filtering doctors, Setting up appointments and patients/doctors dashboards, secure user login with validation mechanisms, appointment scheduling with access to doctor details, patient appointment management, doctor selection, and overall industries level code splitting followed.
To begin using the DoctorOnCall System, follow these simple steps:
Before getting started with the DoctorOnCall System, ensure that you have the following prerequisites installed and set up:
npm install npm@latest -g
npm install -g prisma
npm install -g typescript
To begin using the DoctorOnCall System, follow these simple steps:
# Setup Documentation
## Clone The Project
git clone https://github.com/Ujjalzaman/Doctor-Appointment.git
### Install Frontend
cd Doctor-Appointment
- npm install
- npm start
### Install Backend
cd api
- npm install
### Setup Database
1. Rename .env.example to .env (remove .example).
2. Create a PostgreSQL Database (Railway if you don't have one installed locally):
- Create an account at https://railway.app/.
- Navigate to the New Section > Database > Add PostgreSQL.
- Select your created database and go to the Variables tab.
- Copy DATABASE_PUBLIC_URL.
- Paste the database URL into the .env file.
### Install Prisma
- npm install -g prisma
- npx prisma generate
- npx prisma migrate dev
### Setup Google App Password (For Email Notification)
1. Go to Google Account settings at https://myaccount.google.com/security?hl=en.
2. Navigate to Security > 2-Step Verification.
3. Scroll to the bottom of the page and find App passwords.
4. Select your project name and copy the generated password.
5. Paste the app password into .env as EMAIL_PASS.
### Setup Cloudinary to Upload Image
1. Create a Cloudinary Account at https://cloudinary.com/.
2. Login to your Cloudinary Account and copy all the credentials (e.g., Cloud name, API key, API secret).
3. Paste those credentials into the .env file.
### Start Backend
npm run dev
Happy coding! 🚀
Note: Please note that these are general instructions for setting up an Express API, and the specific implementation details may vary depending on your project’s requirements. Before starting, make sure to read the project’s documentation or readme file to obtain any specific instructions or requirements.
This system offers a comprehensive and dynamic platform for managing doctor appointments, treatments, and patient interactions while maintaining high standards of code quality and user experience.
Frontend Technology Stack:
Back-End:
Fork the repository by clicking the “Fork” button on the top right corner of the project’s GitHub page. This will create a copy of the project in your own GitHub account.
Clone the forked repository to your local machine by running the command git clone https://github.com/your-username/online-doctor-appointment.git
in your terminal.
Install the project’s dependencies by running npm install or yarn install in the project’s root directory.
Create a new branch for your changes by running the command git checkout -b branch-name
, where branch-name is a descriptive name for your branch.
Make your desired changes to the code.
http://localhost:3000
or another specified URL.Add and commit your changes to your local repository by running the command git add . followed by git commit -m "Your commit message here"
Push your changes to your forked repository by running the command git push origin branch-name
Create a pull request (PR) by navigating to your forked repository on GitHub and clicking the “New pull request” button. Make sure that the base branch is set to the original project’s branch that you want to contribute to, and the head branch is set to your forked repository’s branch that contains your changes.
Write a descriptive title and message for your pull request, explaining the changes you made and why they should be merged. Wait for the project’s maintainers to review your pull request and provide feedback. You may be asked to make further changes or address any issues before your changes are merged.
Thank you for considering this project. If you have any questions, please do not hesitate to contact me.
Quber: https://quber.com.au/