Skip to content

Commit

Permalink
Change README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcavezzan committed Dec 16, 2021
1 parent 65ee842 commit d42e661
Showing 1 changed file with 42 additions and 6 deletions.
48 changes: 42 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,52 @@ Small project SpringBoot/Angular just for testing purpose

Deploy this small project into a Kubernetes cluster

## Technologies ?

Choose what you want as long as you can go quickly (nodejs, java, golang, whatever)

## Features expected

### Backend

Your app need the following features for the rest of our workshop:

* can read a configuration where we can set up the following parameter: the welcome message content, application name
and the version. WARNING: those parameters should be able to read from a file and/or from environment variables.
* can get the host where the app is deployed
* expose those REST endpoints:
1) /info: a message with a payload containing the host name alongside with the version (aka: vDev running on
localhost)
2) /welcome: a message with a payload containing the welcome message content (ex: Hello world!)
Optional:
3) /whoami: a message with a payload containing only the host name (ex: localhost)
4) /build: a message with a payload containing only the version (ex: vDev)

### Frontend

Your app need the following features for the rest of our workshop:

* read a configuration file where we can set up
1) application version,
2) api rest endpoint,
3) environment name
4) featre flip a polling to our backend rest endpoint /info.

* a webpage displaying the main content:
1) welcome message from our backend (/welcome)
2) backend information (/info). When polling disabled, only display once /info otherwise display every 5s /info

## How

1. Create docker image for `backend` and `frontend`
2. Push to a docker registry
3. Write kubernetes descriptor for `backend` and `frontend`
4. Apply descriptors
1. Create backend and frontend
3. Create docker image for `backend` and `frontend`
4. Push to a docker registry
5. Write kubernetes descriptor for `backend` and `frontend`
6. Apply descriptors

### Tips
## Correction

♻ Don't hesitate to modify some code if necessary
You can use this repository code from step 1 to step 7 (use tags 😉)

### Other tutorial / Resources

Expand Down

0 comments on commit d42e661

Please sign in to comment.