Monorepo for micorserivce jajan-yuk app.
- Auth services Microservices for authentification and authorization
- Login Login can generate JWT access token and refresh token, and stored it to redis as a session login
- Current-User Current user, for authorization. get info curret user login
- Refresh-Token Refresh token use for generate new token if access token is expired
- Logout Logout use for remove access token from redis
- User servuces Microservices for manage user
- Registration For registration of new user
- Update Profile For update user profile
- Email Services Microservices for send email
Include endpoint :
Include endpoint
This service is subscriber from pubsub topic, When there is a new message in the topic, this service will send an email to the destination
flow : Email service waiting for message -> another service sending a message to email-topic -> Email services can process this message
this is a implement of SSE (Server Send Event)
- Go
- Postgres
- Redis
- Docker
- Pubsub
curl --location 'https://auth.jajan-yuk.pegelinux.my.id/api/v1/login' \
--header 'Content-Type: application/json' \
--data '{
"username":"nanda",
"password":"password"
}'