Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1018 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 1018 Bytes

next-firebase-auth-ssr

A small example repository of Server Side Rendered (SSR) Firebase Authentication in NextJS (getServerSideProps)

Packages

Getting Started

Install packages

yarn

Setup your .env.development file

Duplicate the .env.example file and rename it to .env.development. Replace the values with your own.

Run the firebase emulator

yarn firebase:emulate

This will create a firebase authentication instance on port 9099 for testing

Run the Next dev site

yarn dev

Acknowledgements