Uses Postgres and Prisma. Rate limiting is implemented using JavaScript Map.
Create a GitHub OAuth app with the redirect URI pointed to /login/github/callback.
http://localhost:3000/login/github/callback
Paste the client ID and secret to a .env file.
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET="Init DB
bunx prisma db push
Run the application:
bun dev
Based on amazing template by lucia auth here