c3bf735263
### What? [1] Use Server Actions for auth [2] Use Geist font [3] Address warning about `metadataBase` in console ### Why? [1] The co-location of Login page and authentication logic is simpler for beginners [2] Looks nice [3] Avoid confusing people with the starter template printing warnings ### How? [1] Refactor Route Handlers to Server Actions [2] Install font and set to `html` [3] Explicitly declare the default value for `metadataBaseUrl`
26 lines
565 B
JSON
26 lines
565 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/ssr": "latest",
|
|
"@supabase/supabase-js": "latest",
|
|
"autoprefixer": "10.4.15",
|
|
"geist": "^1.0.0",
|
|
"next": "latest",
|
|
"postcss": "8.4.29",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"tailwindcss": "3.3.3",
|
|
"typescript": "5.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.3.1",
|
|
"@types/react": "18.2.8",
|
|
"@types/react-dom": "18.2.5",
|
|
"encoding": "^0.1.13"
|
|
}
|
|
}
|