user-service
User Service is service that used to manage user login, registration, and profile
- Ensure, already install golang 1.21 or up
- Create file .env
cp env_example .env
- Fill out the env configuration
# APP
APP_PORT=4001
# DATABASE
DATABASE_USER=
DATABASE_PASSWORD=
DATABASE_HOST=
DATABASE_PORT=
DATABASE_SCHEMA=
DATABASE_CONN_MAX_LIFETIME=
DATABASE_MAX_OPEN_CONN=
DATABASE_MAX_IDLE_CONN=
# AWS
AWS_REGION=
AWS_COGNITO_CLIENT_ID=
AWS_COGNITO_USER_POOL_ID=
- Install dependencies:
make install
- Run in development:
make run
- Run unit test
make unit-test
- Show local coverage (in html)
make coverage
- Syamsul Bachri - Github
- Fiber Rest Framework
- Zap Log Management
- Go mod Depedency Management
- Docker Container Management
- Amazon SQS Event Management