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
andsecret.json
respectively - Run
yarn dev