This repo is starterkit with NuxtJS + Firebase SSR + Auth + Claims + ...
Also, Firebase RealtimeDB / Firestore / Storage / Markdown content
Inspired by nuxt2-ssr-firebase, nuxt-ssr-firebase-auth.v2, vuejs-firebase-role-based-auth
Special thanks David Royer, ...
- nuxt: 2.13.0
- firebase: 7.15.4
- firebase-tools: 8.4.0
- firebase-functions: 3.6.0
# build
$ npm run build
# serve with hot reload at localhost:3000
$ npm run dev
# serve with function emulation at localhost:5000
$ npm run serve
# build for production and deploy to firebase
$ npm run deploy
- Fixed some issues related with firebase-tools, firebase-functions version compatible
- Fixed Firebase SSR function with Nuxtjs 2.13.0
- Fixed Firebase Auth cookie of Firebase Cloud Function (link)
- Add Firebase Auth Custom Claims
- Add Admin Console handles with Custom Claims (need adminsdk)
- Update
npm run admin:set
withemail
notuid
- Auth & claim check route
- Google Login button
- RealtimeDB
roles
handle - User create a blog post
- User blog display
- Dropzone file upload by user
- Denormalize data with
user_files
&admin_files
- Markdown content handle
MIT