/next-firebase-ssr

An Next.js example repo for building authenticated pages with Firebase Authentication, cookies, and getServerSideProps

Primary LanguageTypeScript

Next.js + Firebase + getServerSideProps

Full Walkthrough and Documentation at https://vriad.com/essays/nextjs-firebase-authentication.

To run this example:

  • Clone the repo
  • Add your client and server Firebase credentials to firebaseClient.ts and secret.json respectively
  • Run yarn dev