Closed empitsu closed 3 years ago
Authenticating Statically Generated Pages https://nextjs.org/docs/authentication
useEffectでuseSWRでuser情報取得 https://github.com/vvo/next-iron-session/blob/master/examples/next.js/lib/useUser.js
When using Firebase Authentication, we recommend using the static generation pattern.
getQuizz
-> quizだけこれをやる?
DBアクセスの実装を隠蔽したいならpostの実装もapi routes経由でやったほうがいいのでは?
Next.js × Firebase Authentication × Vercel で認証アプリをお手軽に作ってデプロイする https://blog.kimizuy.dev/posts/next-firebase-auth
Next.js × TypeScript × Firebase AuthenticationでGoogle認証を実装する https://qiita.com/y-shida1997/items/f5e52c7288813a8184ff
カスタム認証にしてるっぽい? https://github.com/gladly-team/next-firebase-auth/tree/main/example
Firebaseの存在をフロントエンドから隠蔽するために https://blog.ojisan.io/fb-nukeru