Skip to content

Commit 7116e1b

Browse files
aster-voidclaude
andauthored
Refactor/use elysia server (#22)
Co-authored-by: Claude <[email protected]>
1 parent 507e160 commit 7116e1b

File tree

246 files changed

+11443
-5018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+11443
-5018
lines changed

.env.sample

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
# Deployment used by `npx convex dev`
2-
CONVEX_DEPLOYMENT=anonymous:anonymous-convex
3-
4-
PUBLIC_CONVEX_URL=http://127.0.0.1:3210
1+
# Application
2+
PORT=3000
3+
CORS_ORIGIN=http://localhost:5173
4+
PUBLIC_API_BASE_URL=http://localhost:3000
5+
# Database
6+
DATABASE_URL=postgres://localhost:5432/prism
7+
# Better Auth
8+
BETTER_AUTH_SECRET=your-secret-key-at-least-32-characters
9+
# Google OAuth
10+
GOOGLE_CLIENT_ID=your-google-client-id
11+
GOOGLE_CLIENT_SECRET=your-google-client-secret
12+
# Feature Flags
13+
DISABLE_AUTH=false
14+
PUBLIC_DISABLE_AUTH=false

.envrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
use flake
1+
#!/usr/bin/env bash
2+
3+
export DIRENV_WARN_TIMEOUT=20s
4+
5+
eval "$(devenv direnvrc)"
6+
7+
use devenv

.github/workflows/check.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,23 @@ on:
77
pull_request:
88

99
jobs:
10-
biome:
11-
name: Biome Lint
10+
check:
11+
name: Lint, Format & Type Check
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: oven-sh/setup-bun@v2
1717
- run: bun install --frozen-lockfile
18-
- run: bun run check:lint
19-
20-
prettier:
21-
name: Prettier
22-
runs-on: ubuntu-latest
23-
timeout-minutes: 10
24-
steps:
25-
- uses: actions/checkout@v4
26-
- uses: oven-sh/setup-bun@v2
27-
- run: bun install --frozen-lockfile
28-
- run: bun run check:format
18+
- run: bun run check
2919

30-
all-checks:
31-
name: All Checks
20+
build:
21+
name: Build
3222
runs-on: ubuntu-latest
3323
timeout-minutes: 10
3424
steps:
3525
- uses: actions/checkout@v4
3626
- uses: oven-sh/setup-bun@v2
3727
- run: bun install --frozen-lockfile
38-
- run: bun run check
28+
- run: bun run --filter=@apps/server build
29+
- run: bun run --filter=@apps/desktop build

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ node_modules
44
# development
55
.env
66
.direnv
7+
.devenv
8+
.devenv.flake.nix
79

810
# Tests
911
test-results
12+
playwright-report
1013

1114
# target
1215
target
1316
.svelte-kit
1417
dist
15-
16-
# Convex?
17-
**/gen/schemas
18-
.env.local

.prettierignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
**/paraglide/runtime.js
44
**/paraglide/server.js
55
**/paraglide/registry.js
6-
7-
**/convex/_generated/*

.vscode/extensions.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"recommendations": [
3-
"inlang.vs-code-extension",
4-
"svelte.svelte-vscode",
5-
"rust-lang.rust-analyzer"
6-
]
2+
"recommendations": ["svelte.svelte-vscode", "rust-lang.rust-analyzer"]
73
}

0 commit comments

Comments
 (0)