This project is a frontend for an application designed to manage a small medical clinic. It is built using Angular and Angular Material. The project can be run locally or deployed to a Kubernetes cluster. The system can be used as a frontend for the following backend project: Clinic System.
Clone the repository and navigate to the project directory
git clone https://github.com/marekkawalski/clinic-system-angular.git &&
cd clinic-system-angular
- Node.js 20.x or higher
- npm
- Angular CLI 18.x or higher
- Install the dependencies
npm i
- Run the following command to start the application:
ng serve
- Open the browser and navigate to
http://localhost:4200/
- The application should be running
- Docker deamon, example: Docker Desktop
- Kubernetes cluster, example: Docker Desktop Kubernetes, Minikube
- Add angular app host to the hosts file
sudo echo '127.0.0.1 angular.clinic.system.com'
>> ~/etc/hosts
- Build the Docker image
docker build . -t clinic-system-angular:0.0.3
- Deploy the image to the Kubernetes cluster
kubectl apply -f k8s/deployment.yaml
- Open the browser and navigate to
http://angular.clinic.system.com/
- The application should be running