This web application streamlines the management of medical appointments in a clinic setting, supporting distinct user roles: doctors, patients, and administrators. Each role has tailored permissions and functionalities, such as booking appointments, managing patient records, and overseeing system operations. Built with a focus on security, scalability, and user-friendly design, this project demonstrates proficiency in full-stack Java web development.
- Backend: Java (Servlets)
- Frontend: JSP, HTML
- Server: Apache Tomcat
- Database: SQLite
- Build Tool: Maven
- Secure user authentication and session management via Servlets.
- Role-based access control for patients, doctors, and admins.
- Appointment scheduling and management with persistent storage in SQLite.
- Responsive and intuitive user interface built with JSP and HTML.
- Clone the repository:
git clone https://github.com/OzzYBcc/clinic-management-webapp.git - Navigate to the project directory:
cd clinic-management-webapp - Set up Apache Tomcat on your local machine.
- Import the SQLite database from the
database.sqlfile located in the/dbdirectory. - Build and deploy the application using Maven:
mvn clean install mvn tomcat7:deploy - Access the app in your browser at:
http://localhost:8080/clinic-management-webapp
- Patients: Register, book appointments, and view medical history.
- Doctors: Manage appointments and update patient records.
- Admins: Oversee user accounts and monitor system activity.
- Example Code (Login Servlet):
@WebServlet("/login") public class LoginServlet extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String username = request.getParameter("username"); String password = request.getParameter("password"); // Authenticate user via SQLite database // ... } }
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
Potential improvements include adding email notifications or enhancing the UI with CSS frameworks.
MIT License