From 54f5aaf3833b60e7d53b0c9bf482a279d4a9059f Mon Sep 17 00:00:00 2001
From: Kevin Scholten <93185956+kevin-scholten@users.noreply.github.com>
Date: Fri, 11 Mar 2022 15:42:59 +0100
Subject: [PATCH 1/2] Update README.md
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index fbd1b77..e5c5f1d 100644
--- a/README.md
+++ b/README.md
@@ -5,16 +5,16 @@
* SpringBoot Kotlin/JVM Back-end module
* Shared Kotlin common source module
* `Werknemer` (employee)
- * `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.
From d7bb86562299f276a10774b58f1788edd79b462b Mon Sep 17 00:00:00 2001
From: Kevin Scholten <93185956+kevin-scholten@users.noreply.github.com>
Date: Fri, 11 Mar 2022 15:44:09 +0100
Subject: [PATCH 2/2] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index e5c5f1d..d052832 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Kotlin JS/JVM Code sharing Gradle multiplatform
## This application contains:
-* React Kotlin/JS Front-end module
+* React Kotlin/JS Front-end module (uses IR compiler)
* SpringBoot Kotlin/JVM Back-end module
* Shared Kotlin common source module
* `Werknemer` (employee)