A minimal Java maven backend + React (Vite) frontend to calculate pull expectations from your resources. This project aim to help players to calculate their resouces to enhance their game experience.
The main page can intake 4 inputs, this was mapping to the 4 types of game resources in Arknights.
git clone https://github.com/your-username/arknights-resource-evaluator.git
cd arknights-resource-evaluatorInstall deps (frontend uses pnpm; npm works too):
cd Arknights_Resource_Calculator
pnpm install
# backend has no extra install; Maven will download dependencies on first runRun both (frontend + backend) from the frontend folder:
pnpm run dev:allFrontend will print a local URL (e.g., http://localhost:5173/ or 5174). Backend listens on http://localhost:8080/calculate.
Run individually:
# backend only
cd Server
mvn exec:java -Dexec.mainClass=Server.Main
# frontend only
cd Arknights_Resource_Calculator
pnpm run devBuild production frontend:
cd Arknights_Resource_Calculator
pnpm run buildServer/ # Java backend (HttpServer)
src/main/java/Server # Main + Arknights calculator
src/test/java/Server # JUnit tests
Arknights_Resource_Calculator/ # React + Vite frontend
- Backend:
cd Server && mvn test - Frontend: add tests under
Arknights_Resource_Calculator/test
This Project is NOT affiliated with Hypergryph or Yostar, it is open resouce and welcome to any contrbutions.
Enhance the COR methods, reduce preflight from service dom to frontend, enabled simple signals, for better user experience.