=======================
The Hospital Service API is a web application designed to manage hospital services, including patient information, doctor details, diagnoses, and prescriptions. The application aims to provide a user-friendly interface for hospital staff to efficiently manage patient data and provide better healthcare services.
- Frontend:
- Built using Angular 14
- Utilizes Angular Material for UI components
- Bootstrap for styling
- Backend:
- API built using OpenAPI specification
- Implemented using TypeScript
- Utilizes NSwag for API documentation
- Data Models:
- Patient: stores patient information, including name, CNIC, and date of birth
- Doctor: stores doctor information, including name and title
- Diagnosis: stores diagnosis information, including doctor, visit, and result
- Prescription: stores prescription information, including patient and doctor details
- Features:
- Patient management: create, read, update, and delete patient information
- Doctor management: create, read, update, and delete doctor information
- Diagnosis management: create, read, update, and delete diagnosis information
- Prescription management: create, read, update, and delete prescription information
- Clone the repository:
git clone https://github.com/your-repo/hospital-service-api.git - Navigate to the frontend directory:
cd angular-front - Install dependencies:
npm install - Start the development server:
ng serve --ssl --ssl-cert %APPDATA%\ASP.NET\https\%npm_package_name%.pem --ssl-key %APPDATA%\ASP.NET\https\%npm_package_name%.key - Open a web browser and navigate to
https://localhost:4200
- Clone the repository:
git clone https://github.com/your-repo/hospital-service-api.git - Navigate to the backend directory:
cd backend - Install dependencies:
npm install - Start the development server:
node server.js - Open a web browser and navigate to
https://localhost:3000/api
To contribute to the Hospital Service API, follow these steps:
- Fork the repository:
git fork https://github.com/your-repo/hospital-service-api.git - Clone the forked repository:
git clone https://github.com/your-fork/hospital-service-api.git - Create a new branch:
git branch feature/your-feature - Make changes and commit:
git commit -m "Your commit message" - Push changes to your fork:
git push origin feature/your-feature - Create a pull request:
git pull-request https://github.com/your-repo/hospital-service-api.git
Note: Make sure to follow the project's coding standards and guidelines when contributing.