firebase-module icon indicating copy to clipboard operation
firebase-module copied to clipboard

[STICKY] Documentation / Tutorials / Examples

Open lupas opened this issue 3 years ago • 7 comments

Sticky issue to collect unclear things that either need to be documented better, need examples or could need a tutorial.

Feel free to add a comment on what you are struggling with in regards to this module and I will think about writing a tutorial for it.

Tutorials

  • [ ] Example of how to use Google Auth with this nuxt/fire module. (https://github.com/lupas/nuxt-firebase-demo/issues/29)
  • [ ] How to properly secure routes with Firebase Auth. (https://github.com/nuxt-community/firebase-module/issues/363)
  • [ ] How to work with the existing firebase session from within generate hooks (https://github.com/nuxt-community/firebase-module/issues/380#issuecomment-725088380)
  • [ ] How to integrate this package on Custom API endpoints to authenticate users on api routes (https://github.com/nuxt-community/firebase-module/issues/380#issuecomment-727632223)
  • [ ] Add an example on how to use messaging (https://github.com/lupas/nuxt-firebase-demo/issues/46)

Examples

empty

Documentation improvements

empty

lupas avatar Nov 10 '20 22:11 lupas

I am currently working on generating dynamic routes and providing payloads within the nuxt generate hooks. If it wasnt for your bug fix of the generate timeout I would have done it through seperate imports and configs.

I think an explanation and example on how to work with the existing firebase session from within generate hooks would be useful to many.

I also added a feature request / idea how to make firebase accessible for all hooks. https://github.com/nuxt-community/firebase-module/issues/93#issuecomment-725086406

I can post my routes generation and payload code when I figured it out. I think unfortunately it will have to be in different hooks and cant be done in just the generate:before hook.

sugoidesune avatar Nov 11 '20 02:11 sugoidesune

I'm trying to figure out a solution to integrate this package on Custom API endpoints to authenticate users on api routes. Looks like there was an issue created, but then closed #9

rolandszpond avatar Nov 15 '20 20:11 rolandszpond

A small one: use examples with npm too, instead of just with yarn.

AdrianoCahete avatar Feb 07 '21 20:02 AdrianoCahete

A small one: use examples with npm too, instead of just with yarn.

@AdrianoCahete You can switch to npm examples on the top left of the example itself.

npm

erikClevenger avatar Feb 10 '21 23:02 erikClevenger

You can switch to npm examples on the top left of the example itself.

For some strange reason, this option wasn't displaying in my Edge. Restarted and now is showing... But thanks!

AdrianoCahete avatar Feb 11 '21 00:02 AdrianoCahete

+1 on the following tutorials:

  • Example of how to use Google Auth with this nuxt/fire module. (lupas/nuxt-firebase-demo#29)
  • How to properly secure routes with Firebase Auth. (#363)

dosstx avatar Apr 12 '21 21:04 dosstx

I am currently working on generating dynamic routes and providing payloads within the nuxt generate hooks. If it wasnt for your bug fix of the generate timeout I would have done it through seperate imports and configs.

I think an explanation and example on how to work with the existing firebase session from within generate hooks would be useful to many.

I also added a feature request / idea how to make firebase accessible for all hooks. #93 (comment)

I can post my routes generation and payload code when I figured it out. I think unfortunately it will have to be in different hooks and cant be done in just the generate:before hook.

Hi, did you ever figure out how to do the route generation?

simeon9696 avatar Jun 20 '21 00:06 simeon9696