Newer
Older
# Airline Booking System client
## How to develop the UI without docker
Make sure you have node installed (e.g. version v20.11.0 which was used to create this).
1. Install vite globally via `npm install -g vite`
2. Navigate to the client directory
3. Run `npm install`
4. Run `npm run dev`
5. Make changes
6. Go to http://localhost:8080/ to see the changes
## How to run the UI alone via docker
Note: this does not run the microservices.
Make sure you have docker installed.
1. Navigate to the client directory
2. Run `docker build . -t "airline-client"`
3. Run `docker run -p 8080:8080 airline-client`
4. Go to http://localhost:8080/ to view