The Backend for Iceless' Personal Website
- TypeScript 98.9%
- Nix 0.6%
- Dockerfile 0.5%
| drizzle | ||
| scripts | ||
| src | ||
| test/helpers | ||
| utils | ||
| .dockerignore | ||
| .gitignore | ||
| bun.lock | ||
| docker-compose.dev.yaml | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| flake.lock | ||
| flake.nix | ||
| iclpw.config.yaml.example | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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.