Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions backend/src/main/java/fr/zelytra/Public.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package fr.zelytra;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.core.Response;

@Path("ping")
public class Public {

@GET
public Response get(){
return Response.ok("Pong").build();
}
}
4 changes: 2 additions & 2 deletions webapp/.env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_BACKEND_HOST="http://127.0.0.1:8080"
VITE_KEYCLOAK_HOST="http://127.0.0.1:24904/auth"
VITE_BACKEND_HOST="http://10.0.2.2:8080"
VITE_KEYCLOAK_HOST="http://10.0.2.2:24904/auth"
VITE_VERSION=$npm_package_version
691 changes: 475 additions & 216 deletions webapp/package-lock.json

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@
"scripts": {
"dev": "vite --host",
"build": "vue-tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"tauri": "tauri",
"tauri-dev": "npm run tauri dev",
"tauri-build": "npm run tauri build",
"tauri-android-build": "npm run tauri android build",
"tauri-android-dev": "npm run tauri android dev"
},
"dependencies": {
"@tauri-apps/api": "^2.0.0-beta-rc.3",
"@tauri-apps/cli": "^2.0.0-beta-rc.3",
"@tauri-apps/plugin-http": "^2.0.0-beta-rc.3",
"@types/matter-js": "^0.19.6",
"axios": "^1.7.2",
"drag-drop-touch": "^1.3.1",
Expand All @@ -17,12 +25,14 @@
"mitt": "^3.0.1",
"pinia": "^2.1.7",
"sass": "^1.77.6",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v2",
"vue": "^3.4.31",
"vue-i18n": "^9.13.1"
},
"devDependencies": {
"@interactjs/types": "^1.10.27",
"@vitejs/plugin-vue": "^5.0.5",
"eruda": "^3.2.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vue-router": "^4.4.0",
Expand Down
4 changes: 4 additions & 0 deletions webapp/src-tauri/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
target = "x86_64-pc-windows-msvc"

[target]
4 changes: 4 additions & 0 deletions webapp/src-tauri/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Generated by Cargo
# will have compiled files and executables
/target/
/gen/schemas
Loading