Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Firebase full password authentication (register, login, forget password, reset password), google/twitter/facebook authentication
Nuxt TypeScript SSR Firebase Auth is an open-source boilerplate that runs a Nuxt.js universal-mode app on Firebase Hosting and Firebase Functions with full authentication and profile features.
This boilerplate pairs Nuxt.js universal mode (SSR) with Firebase Hosting and Cloud Functions, so nuxtServerInit and dynamic routes keep working — something nuxt generate cannot preserve. It accepts a Firebase project configuration via a .env file and outputs a deployable SSR web app with user authentication, profile pages, push notifications, and a REST API served from shared Express handlers. The repository is maintained on GitHub by rslvn and includes a live demo at nuxt-ts-firebase-auth-ssr.firebaseapp.com.
lang query parameter to switch languages.The repository is split into functions/ for Cloud Functions and shared npm modules (types-module for shared types, handlers-module for Express handlers and Firestore/admin services) and src/ for the Nuxt app. To deploy, create a Firebase project, set your project ID in .firebaserc, create a .env file from .env.template with Firebase web and admin credentials, then run npm run install and firebase deploy. Local development works via npm run build then firebase serve, or by running npm run dev inside src/ and optionally enabling Nuxt serverMiddleware to call the same APIs locally.
Yes — it includes Google, Twitter, and Facebook authentication through Firebase Auth, and you can link or unlink these providers on an existing password account.
Yes. Navigate to src/ and run npm run dev after setting API_URL to a local endpoint. To test API routes locally, enable the serverMiddleware entries for ~/server/api and ~/server/sitemap in src/nuxt.config.ts.
Firebase Auth, Firestore, Storage, Hosting, Cloud Functions, and Cloud Messaging (FCM) appear in the boilerplate, plus a dynamic sitemap served from the Functions layer.
English and Turkish are configured through nuxt-i18n, and vee-validate messages are integrated with the i18n system.
