An instant messaging app that delivers your messages as fast as Hermes
For more details documentation, please go here.
Clientsend username and password toAuthto get a jwt. Now it can access to resource inAPIusing that jwt.Clientsend a request toAuthto get another jwt token to authenticate withSocket. In this request, the jwt in step 1 will be put in the header. So only authenticated user can send this request.Clientsend a request toSocketto make a socket connection between client and socket server, using token acquired in step 2. TheSocketneed to contact withAuthto verify that the token sent byClientis valid.
- sudo docker-compose up -d
Wait about 2 minutes, kafka takes time to get ready
-
cd client npm run dev
-
cd auth npm run start:dev
-
cd api npm run start:dev
-
cd shipping go run .
-
cd socket go run .
go to localhost:3000