Skip to content

experimentation with liftbridge and a teams service

Notifications You must be signed in to change notification settings

alexrudd/lb-teams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lb-teams

This is a playground project for exploring the use of Liftbridge as an event store.

The goal of this project is to implement a simple domain of Users and Teams, where users can be invited to teams, accept invites to teams, leave teams, and remove other team members (assuming they're the team owner).

API

Commands

  • Send Team Formation Invite: curl -XPOST localhost:8080/SendTeamFormationInvite -d '{"inviterUserId":"alice","inviteeUserId":"bob"}'
  • Decline Team Formation Invite: curl -XPOST localhost:8080/DeclineTeamFormationInvite -d '{"inviteId":"ee343dc8-4349-42e3-aa80-06748252fd13"}'
  • Cancel Team Formation Invite: curl -XPOST localhost:8080/CancelTeamFormationInvite -d '{"inviteId":"abc123"}'
  • Accept Team Formation Invite: curl -XPOST localhost:8080/AcceptTeamFormationInvite -d '{"inviteId":"abc123"}'

Queries

  • Get User Inbox: curl localhost:8080/Inbox?userid=bob

Model

This project is being designed using Event Modelling


About

experimentation with liftbridge and a teams service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published