re: Hosting an API in Firebase writen with Typescript and Nest VIEW POST


great article, although server.ts is different that github source and needs to be updated.

One question, after deploy the api will respond to http requests, I was wondering how can I make a controller to respond to pub/sub or database changes (which firebase supports)

Another question at the end there will be 1 api end point, in matter of micro-srvices we should have fine grained separate apis, (maybe fined grained as modules), what is the best practice for that?


Try to use Graphql with nestjs & firebase, Graphql have sub/pub.

Code of Conduct Report abuse