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.
- 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
Push Events
user_${user_id}_social_chat
user_${user_id}_social_chat_${chat_id}_messages
Ecommerce
The ecommerce module is a prebuild module for all things related to ecommerce, this will evolve over time and should save you time if you want to work with everything ecommerce related.
Websites
The websites module is a prebuild module for all things related to internet websites, this will evolve over time and should save you time if you want to interact with website entities in your own project.