Social

The social module is a prebuild module for all things related to community, this will evolve over time and should save you time if you want to work with everything social related.

The following social items are in our roadmap:
  • Walls, Posts, Likes
  • Connections (Follow, friends)
  • Leagues
  • Streaks
  • Activity (Online Now, Last Seen)

Install

Follow these instructions to use the social module in your project.

Package

Install the package into your project:

pnpm install @juicyllama/social

Api Backend

Import the module into your application:

//app.module.ts
import { SocialModule } from '@juicyllama/social'

@Module({
    imports: [
        forwardRef(() => SocialModule),
    ],
})

API Documentation

You can expose the API documentation for websites as follows

//main.ts
import { installSocialDocs } from '@juicyllama/socia;'

//place this below the swagger setup
redoc = installSocialDocs(redoc)

Modules

Chat

This needs documenting
Push Events

user_${user_id}_social_chatuser_${user_id}_social_chat_${chat_id}_messages


Docs v.0.14.0 Copyright © 2024