Definitely a cool chat application.
Requirements:
- MySQL@^8.0
- Go@^1.23
- Deno@^2.0
[!TIP] First setup:
- Run
deno task init:build
.- Change the
.env
.- Run
deno task serve
.
Creating/Updating project files:
# init sql db tables and the .env file (no overrides)
deno task init
# and build the ./web (ts, css)
deno task init:build
Note
Fill the .env
this file manually.
# go (server): use after *:build or *:watch
deno task serve
# web (client): use after init
deno task serve:build
deno task serve:watch
Use build
or watch
when:
- CSS or TS code is changed:
./web/src
. - Changed any html template and potentially used new tailwind classnames. Otherwise, it may partially not to work.
- Deno dependencies (deno.json) are updated.
Read more about contributing here.