- Database credentials
- Kafka connection
For storing device tokens (or registration tokens - generated by FCM SDK on client app) For storing user's relates: user_group, user_followee
- To set up Firebase app & apiKeys, just follow this docs: https://firebase.google.com/docs/cloud-messaging/server
- Then add Firebase credentials to this: firebase.module.ts
- All entries for handling messages on controller files:
- Need to create these topics on kafka:
- user.logged_in
- user.logged_out
- user.join_group
- user.leave_group
- user.delete
- user.notify
- group.create
- group.delete
- group.new_post
- and other topics for KOL. Ex: user.tag_kol, user.follow_kol, kol.new_post...
Nest framework TypeScript starter repository.
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod