A small example repository of Server Side Rendered (SSR) Firebase Authentication in NextJS (getServerSideProps
)
yarn
Duplicate the .env.example
file and rename it to .env.development
. Replace the values with your own.
yarn firebase:emulate
This will create a firebase authentication instance on port 9099
for testing
yarn dev
- Repository uses the basic structure outlined in this article The Ultimate Authentication Guide with Next.js and Firebase