Skip to content
/ chat Public

A Roadman for chat and groups, using UserType from 'auth'

Notifications You must be signed in to change notification settings

roadmanjs/chat

Repository files navigation

Roadman - for chat and groups

A Roadman for chat and groups, using UserType from 'auth'

How to use

yarn add @roadmanjs/auth @roadmanjs/chat

app.ts

import roadman from 'roadman';
import {getAuthResolvers} from '@roadmanjs/auth';
import {getChatResolvers} from '@roadmanjs/chat';

await roadman({
  resolvers: [...getAuthResolvers(), ...getChatResolvers(), ...MyOtherResolvers]
});

Env required

DEBUG=roadman*

# Firebase service account json string
FIREBASE_SA={"firebase admin service account": ""}

# Couchbase envs
COUCHBASE_URL= 
COUCHBASE_BUCKET=
COUCHBASE_USERNAME= 
COUCHBASE_PASSWORD= 

# Any random ass access token generator secrets
ACCESS_TOKEN_SECRET=xxxxx
REFRESH_TOKEN_SECRET=xxxx

About

A Roadman for chat and groups, using UserType from 'auth'

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published