Real-Time Multiplayer Game Server (with Betting Feature)
-
Clone the repository
git clone https://github.com/MwauratheAlex/arena.git cd arena -
Build the project
mvn clean install
-
Run the application
mvn spring-boot:run
The server will start on
http://localhost:8080
- Watch for tailwind changes on a separate terminal
cd arena/src/main/frontend npm i #install node modules if running for the first time npm run watch #to watch html files for changes and rebuild your css
- Run Normally on intellij
- Tailwind will build automatically on save, and you only need to rerun your server on changes.
- If running templates directly with the intellij server and hot-reloading, tailwind will still build automatically on save, and you will see changes immediately on your browser.
- NOTE: mvn spring-boot:run will install packages and build tailwind so there is no need to run watch separately.
Overall Coverage: 32.46%
| Metric | Covered | Missed | Total | Coverage |
|---|---|---|---|---|
| INSTRUCTION | 236 | 491 | 727 | 32.46% |
| LINE | 56 | 106 | 162 | 34.57% |
| BRANCH | 2 | 28 | 30 | 6.67% |
| METHOD | 22 | 28 | 50 | 44.00% |
| CLASS | 9 | 5 | 14 | 64.29% |
| COMPLEXITY | 23 | 42 | 65 | 35.38% |
- INSTRUCTION: 32.46%
- LINE: 34.57%
- BRANCH: 6.67%
- METHOD: 44.00%
- COMPLEXITY: 35.38%