-
user can login by github account
-
fire CRUD operations on user table after login /register
-
generate native jwt token for user after login
-
filter by jwt token for some api
- support login from own oauth2 server (enhance later)
cd ..
docker build -t user-api -f user-api/Dockerfile . or docker build -t user-api:1.0.0 -f user-api/Dockerfile .
docker image ls
docker image tag user-api:latest user-api:1.0.0
docker run -d -e AWS_ACCESS_KEY_ID=xyz -e AWS_SECRET_ACCESS_KEY=abc -e AWS_REGION=ap-southeast-1 -e profile=dev --publish 8181:8181 user-api:1.0.0