1. grpc - "google.golang.org/grpc"
2. goqu - "github.com/doug-martin/goqu/v9"
3. kafka - "github.com/IBM/sarama"
4. redis - "github.com/go-redis/redis/v8"
5. websocket - "github.com/gorilla/websocket"
1. run `docker compose up`
2. Check status of services
1. go to "cd deployments" and run "docker-compose up"
2. run http-gateway "cd http_gateway/" and "go run cmd/main.go"
3. run user-service "cd user-service/" and "go run cmd/main.go"
4. run post-service "cd post-service/" and "go run cmd/main.go"
5. run newsfeed-service "cd newsfeed-service/" and "go run cmd/main.go"
6. run message-service "cd message-service/" and "go run cmd/main.go"
7. run FE "cd web/" and "start index.html"
namnv - namnv
knm - knm
baobq - baobq
user-service\internal\database\migrations\mysql
if namnv
posted a post. knm
and baobq
will see it in their newsfeed.
if knm
posted a post. Only namnv
will see it in his newsfeed baobq
will not. Because only namnv
follow knm
if baobq
posted a post. Only namnv
will see it in his newsfeed knm
will not. Because only namnv
follow baobq
Create new chat room private with friend from newsfeed. Only 2 member of chat can see and join the chat