Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-scholten authored Mar 11, 2022
1 parent e99b08e commit 54f5aaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
* SpringBoot Kotlin/JVM Back-end module
* Shared Kotlin common source module<br />
* `Werknemer` (employee)<br />
* `TlefoonnummerValidator` Phone number validation logic.
* `TelefoonnummerValidator` Phone number validation logic.

The template already present shows Werknemer (Employee) information at the front-end. This info is received from the back-end by an API call. The `Werknemer` data class is shared between front-end and back-end modules. This can be found in the `commonMain` module. The user can set the phone number of the employee only in the correct dutch phone number format. Phone number validation logic is also shared between back-end and front-end and checked on both modules.
The template already present shows Werknemer (Employee) information at the front-end. This info is received from the back-end by an API call. The `Werknemer` data class is shared between front-end and back-end modules. This can be found in the `commonMain` module. The user can set the phone number of the employee only in the correct dutch/international phone number format. Phone number validation logic is also shared between back-end and front-end and checked on both modules.

## Starting the applications
1. Start SpringBoot via the main function.
2. Run 'gradle frontendBrowserDevelopmentRun' to start the front-end.
3. go to `localhost:8080` for front-end, `localhost:3000/api/werknemer` for back-end calls.

**_NOTE:_** The back-end call is proxied from port 3000.
**_NOTE:_** The back-end call is proxied from port 3000 to avoid CORS policy errors.



Expand Down

0 comments on commit 54f5aaf

Please sign in to comment.