This repo is the client of the project "Good Plans" a project made by Mathrix for the "Nuit de l'info", a French coding event.
It is based on Angular 8 and heavily relies on @clr/angular for the UI integration.
It coupled with a REST API, which you can found at :
- [dev.api.good-plans.mathrix.fr] (development API)
- [api.good-plans.mathrix.fr] (production API)
To build the Docker image, you have to first build the Angular app. To do so, run:
npm install # install the Node dependencies
ng build --configuration=dev # or master, if you want to use our prod API
Then, you can build the Docker image with:
docker build -t good-plans-angular:latest .
Then, serve the app with:
docker run good-plans-angular:latest
You can customize the port by passing the PORT
environment variable.
The application is deployed with GitHub Actions, the official GitHub solution for CI/CD. You choose to deploy our app on Google Cloud Run which is a simple but very flexible solution to run stateless web containers.
You can find the complete pipeline in [.github/workflows/deploy.yaml].