This project is a frontend for an application designed to manage a small medical clinic. It is built using React and MUI. 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-react.git && cd clinic-system-react
- Node.js 20.x or higher
- npm
- Install the dependencies
npm i
- Run the following command to start the application:
npm start
- Open the browser and navigate to
http://localhost:3000/
- The application should be running
- Docker deamon, example: Docker Desktop
- Kubernetes cluster, example: Minikube
- kubectl
- Add React app host to the hosts file
sudo echo '127.0.0.1 react.clinic.system.com'
>> ~/etc/hosts
- Run the following command to build the Docker image:
docker build . -t clinic-system-react:0.0.3
- Run the following command to deploy the application to Kubernetes:
kubectl apply -f k8s/deployment.yaml
- Open the browser and navigate to http://react.clinic.system.com/
- The application should be running