aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/DEV.md
blob: be9aede0f3da42acc69c82c5d880398306efe1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Architecture

* Reverse proxy server (Nginx)
* API server (Golang/Echo)
* Frontend (TypeScript/React/Vite)
* Database (PostgreSQL)
* Worker (Golang/Echo + Swift/SwiftWasm + WebAssembly/Wasmtime)

# Dependencies

* Docker
* Docker Compose
* Node.js 22 or later
* Npm
* Go 1.25 or later

# Run

1. Clone the repository.
1. `cd path/to/the/repo`
1. Copy `.env.example` to `.env`.
1. `direnv allow .` (optional)
1. `just init`
1. `just up`
1. Access to http://localhost:5173/iosdc-japan/2025/code-battle/.
    * User `a`, `b` and `c` can log in with `pass` password.
    * User `a` and `b` are players.
    * User `c` is an administrator.