-
Admin req
-
[x]CORS CONFIG
-
Fix config: log and cors
-
[] Setup Middleware Auth user(unix_id)
-
[] Setup Middleware Auth admin(unix_id with os.Getenv("ADMIN_ID"))
-
~GET Log service
- Auth middleware admin, Uri(unix_id on env),
-
GET Service status
-
POST deactive user by admin
- with midlleware auth admin
- with uri unix_id admin, use fetch get to service-user-investor and save to db
-
POST active admin
- with midlleware auth admin
- with uri unix_id admin, use fetch get to service-user-investor and save to db
-
POST Register
- POST Check email
- POST Check Phone
-
POST Login
-
Dashboard
-
PUT Update User profile admin
- Update data can be empty content
- update with name, phone, Bio User
-
GET User Profile
- with middleware on token
-
GET User Profile
-
PUT Update User profile
-
POST Update_avatar
-
POST Logout -Auth middleware user
- Delete token
- [] ~CI/CD Github Actions
- [] Push to Docker Hub
- [] Push to GCP registry