This project combines a RESTful API and a sophisticated dashboard built with Laravel 8.0 and PHP 7.4.2 for making doctor reservations. It simplifies the process of booking appointments with doctors in Semarang while providing an interactive dashboard for managing the system.
- User authentication with JWT tokens.
- Endpoints for searching and booking appointments with doctors.
- User and doctor profiles.
- Real-time notifications for appointment status updates.
- Role-based access control for users and doctors.
- Admin dashboard built with Argon template for easy management.
- Doctor dashboard for managing appointments and profiles.
- Real-time updates on appointment requests.
- CRUD operations for managing doctors and appointments.
- Beautifully designed UI for a seamless experience.
Before you begin, ensure you have met the following requirements:
To get the Doctor Reservation API and Dashboard up and running on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/ilhammmaulana/doctor-reservation.git
-
Navigate to the project directory:
cd doctor-reservation
-
Install PHP dependencies:
composer install
-
Create a copy of the
.env.example
file and rename it to.env
. Update the.env
file with your configuration, including your database settings and application key:cp .env.example .env php artisan key:generate
-
Install JavaScript dependencies:
npm install
-
Generate asset files:
npm run dev
-
Migrate the database:
php artisan migrate
-
Start the Laravel development server:
php artisan serve
Now, you can access the API at http://127.0.0.1:8000/api
and the Dashboard at http://127.0.0.1:8000/
.
For detailed information about available API endpoints and their usage, refer to the API documentation.
The dashboard provides an interactive interface for doctors and administrators to manage appointments, doctors, and users. For more details on how to use the dashboard, refer to the Dashboard documentation.
Contributions are welcome! If you would like to contribute to this project, please follow these guidelines:
- Fork the project.
- Create a new branch for your feature (
git checkout -b feature/your-feature
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to your branch (
git push origin feature/your-feature
). - Open a pull request.
This project is licensed under the MIT License.