The Backend for Iceless' Personal Website
  • TypeScript 98.9%
  • Nix 0.6%
  • Dockerfile 0.5%
Find a file
2026-10-07 09:46:23 +08:00
drizzle Create 0001_snapshot.json 2026-10-01 14:52:41 +08:00
scripts use the utils 2026-10-02 21:40:41 +08:00
src one can delete raw or the whole asset 2026-10-07 09:46:23 +08:00
test/helpers setup helper for db during tests 2026-10-02 21:41:26 +08:00
utils add utils for environment setup and development 2026-10-02 21:41:00 +08:00
.dockerignore Create .dockerignore 2026-09-30 12:54:13 +08:00
.gitignore include test/ utils/ and docker-compose.dev.yaml 2026-10-02 21:38:51 +08:00
bun.lock add dockerode @types/dockerode 2026-10-02 21:39:07 +08:00
docker-compose.dev.yaml add docker compose for dev 2026-10-02 21:41:09 +08:00
docker-compose.yaml add ADMIN_DATABASE_URL to env 2026-10-02 21:39:43 +08:00
Dockerfile dockerfile now also builds the reset script binary 2026-09-30 12:52:58 +08:00
drizzle.config.ts remove unused imports 2026-09-30 12:53:42 +08:00
flake.lock Create flake.lock 2026-09-30 18:08:51 +08:00
flake.nix Create flake.nix 2026-09-30 18:04:31 +08:00
iclpw.config.yaml.example sync iclpw.config.yaml 2026-10-02 21:40:32 +08:00
package.json add dockerode @types/dockerode 2026-10-02 21:39:07 +08:00
README.md say a little bit about readme 2026-08-26 13:50:15 +08:00
tsconfig.json initial commit 2026-08-23 15:56:07 +08:00

The Backend for Iceless' Personal Website

Initialzation

Install Dependencies

So first you need bun, which is used through this whole repo to manage packages.

And then install

bun install

Docker Compose

So first you need docker, which is used to host PostgreSQL in containers.

Encryption Keys

To produce keys for tokens and sessions

Note: Please don't use the same encryption key for token and session.

openssl rand -base64 32

and then put then in TOKEN_ENCRYPTION_KEY and SESSION_ENCRYPTION_KEY.