aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/DEV.md
blob: 7f798406bd34134672cb216f774f5593a2aea7ac (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
# Architecture

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

# Dependencies

* Docker
* Docker Compose
* Node.js 20.0.0 or later
* Npm
* Go 1.22.3 or later

# Run

1. Clone the repository.
1. `cd path/to/the/repo`
1. `make init`
1. `make up`
1. Access to http://localhost:5173/phperkaigi/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.