Skip to content

Commit

Permalink
Add http plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zelytra committed Aug 7, 2024
1 parent 9fb4e31 commit 8b1e499
Show file tree
Hide file tree
Showing 13 changed files with 751 additions and 276 deletions.
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();
}
}
2 changes: 1 addition & 1 deletion webapp/.env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_BACKEND_HOST="https://10.0.2.2:8080"
VITE_BACKEND_HOST="http://10.0.2.2:8080"
VITE_KEYCLOAK_HOST="http://10.0.2.2:24904/auth"
VITE_VERSION=$npm_package_version
516 changes: 283 additions & 233 deletions webapp/package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@
"tauri-android-dev": "npm run tauri android dev"
},
"dependencies": {
"@tauri-apps/api": "^2.0.0-rc.0",
"@tauri-apps/plugin-http": "^2.0.0-rc.0",
"@types/matter-js": "^0.19.6",
"axios": "^1.7.2",
"@tauri-apps/api": "^1.5.6",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v2",
"drag-drop-touch": "^1.3.1",
"keycloak-js": "^25.0.1",
"matter-js": "^0.20.0",
"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"
},
Expand Down
Loading

0 comments on commit 8b1e499

Please sign in to comment.