Skip to content

Commit 02d6f81

Browse files
Adds authentication and improves environment setup
Introduces new environment variables for authentication services: BETTER_AUTH_URL, BETTER_AUTH_SECRET, GOOGLE_CLIENT_ID, and GOOGLE_CLIENT_SECRET. Marks environment variables evaluation and Biome tasks as completed in the TODO list. Enhances overall security and readiness for implementing authentication features.
1 parent d1847cb commit 02d6f81

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
- Dev experience
2525
- [ ] Dev tools
2626
- https://react-router-devtools.forge42.dev/
27-
- [ ] Env variables evaluation
27+
- [x] Env variables evaluation
2828
- https://dane.computer/blogs/type-safe-environment-variables-in-remix
29-
- [ ] Biome
29+
- [x] Biome
3030
- https://biomejs.dev/
3131

3232
# Some useful resources that can improve this project

app/lib/env.server.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { z } from "zod";
33
const schema = z.object({
44
NODE_ENV: z.enum(["production", "development", "test"] as const),
55
DATABASE_URL: z.string(),
6+
BETTER_AUTH_URL: z.string(),
7+
BETTER_AUTH_SECRET: z.string(),
8+
GOOGLE_CLIENT_ID: z.string(),
9+
GOOGLE_CLIENT_SECRET: z.string(),
610
});
711

812
declare global {

0 commit comments

Comments
 (0)