Skip to content

MohamedHamed12/Hospital-Backend

 
 

Repository files navigation

Project.mp4

Hospital-Backend

Our System serves as the core engine, responsible for handling data storage, processing, and serving requests from the frontend. It is built on the Django REST Framework, a powerful toolkit for building Web APIs in Python.

Technologies Used

  • Django REST Framework
  • SQLite (for development)
  • PostgreSQL (for production)
  • GitHub Actions (for CI/CD)
  • Docker (for containerization)
  • Azure (for deployment)

Key Features

  • API Development: Utilized Django REST Framework to build a scalable and maintainable API, enabling smooth interaction between the client and the server.
  • Database Management:
    • SQLite: Used during the development phase for its simplicity and ease of setup.
    • PostgreSQL: Chosen for the production environment due to its robustness, scalability, and advanced features.
  • Continuous Integration/Continuous Deployment (CI/CD): Implemented CI/CD pipelines using GitHub Actions to automate testing, building, and deployment processes, ensuring that code changes are reliably and efficiently deployed to production.
  • Containerization: Deployed the application using Docker to ensure consistency across different environments. Docker allows for easy replication of the development environment, ensuring that the application behaves the same way in development, testing, and production.

Automated Testing

  • Unit Tests: Developed unit tests to validate the functionality of individual components and ensure that each part of the codebase performs as expected.
  • Integration Tests: Conducted integration tests to verify that different components of the system work together correctly, ensuring that the interactions between various parts of the system are seamless.

Development Workflow

  • Version Control: Used Git for version control, hosting the repository on GitHub to facilitate collaboration and maintain a history of code changes.
  • CI/CD Pipeline: Configured GitHub Actions to automate the CI/CD pipeline, including steps for running tests, building the application, and deploying it to the production environment.
  • Docker: Employed Docker for containerization, enabling consistent deployment across different environments by packaging the application and its dependencies into a single container.
  • Azure: Deployed the application to Azure using the Azure CLI.

Conclusion

The backend of the Patient and Doctor Management System is designed to be robust, scalable, and maintainable. By leveraging Django REST Framework, automated testing, CI/CD pipelines, and Docker, the backend ensures reliable data management and seamless interactions with the frontend. This setup provides a solid foundation for building and deploying a high-quality healthcare management system.

hos (1)

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Dockerfile 0.4%