Skip to content

Latest commit

 

History

History

ui-client-side-session-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nextjs Demo using Client side Firebase session

Installation

Add .env file in the project root folder with values from firebase config json and spring boot host and port

NEXT_PUBLIC_API_KEY=REPLACE_WITH_API_KEY
NEXT_PUBLIC_AUTH_DOMAIN=REPLACE_WITH_AUTH_DOMAIN
NEXT_PUBLIC_DB_URL=REPLACE_WITH_DB_URL
NEXT_PUBLIC_PROJECT_ID=REPLACE_WITH_PROJECT_ID
NEXT_PUBLIC_APP_ID=REPLACE_WITH_APP_ID
NEXT_PUBLIC_MIDDLEWARE_URL=REPLACE_WITH_SPRING_BOOT_URL

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.