This repository is created as a sample of using nuxt3 SSR with native firebase functions + hosting + storage.
DEMO: https://nuxt3-ssr-firebase.web.app/
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hosting:
Firebase authentication:
Firebase storage:
Other:
.env.example
file as .env
cp .env.example .env
.env
file content with your firebase configurationGOOGLE_APPLICATION_CREDENTIALS must be the single line of the service account file content Admin-SDK
# install the npm modules
npm install
# run the app
npm run dev
dev
: start the app on localtest
: run testscoverage
: run tests with coverage reportclear
: delete .nuxt .output .firebase foldersclear-all
: node_modules .nuxt .output .firebase folders and package-lock.json fileemulator
: run the app in firebase emulatorsdeploy
: deploy the app to the firebase produpgrade
: upgrade all npm modules and install alllint:fix
: fixing eslint and stylistic issues if possible