git clone https://github.com/devmecloud/eco_auth_lampio.git authServices
cd authServices
- Action create app with
application typeismobilein cognito
- And move to that link : http://us-east-1.console.aws.amazon.com/cognito/v2/idp/user-pools/ap-northeast-1_i4fGZtp92/applications/app-clients/7tm0cfs0nqidq5a7qg1t6egu10/quick-setup-guide?region=ap-northeast-1
- Copy
Client IDchangereplace allin all source
npm install
aws configure
AWS Access Key ID [****************]: your_key
AWS Secret Access Key [****************]: your_key
Default region name [us-east-1]: us-east-1
Default output format [json]: json
cd authServices
sls deploy
After running deploy, you should see output similar to:
Deploying "authService" to stage "dev" (us-east-1)
✔ Service deployed to stack authService-dev (91s)
endpoints:
POST - https://s717qokuwe.execute-api.us-east-1.amazonaws.com/signUp
POST - https://s717qokuwe.execute-api.us-east-1.amazonaws.com/confirmSignUp
POST - https://s717qokuwe.execute-api.us-east-1.amazonaws.com/sign-in
functions:
signUp: authService-dev-signUp (2.9 MB)
confirmSignUp: authService-dev-confirmSignUp (2.9 MB)
signIn: authService-dev-signIn (2.9 MB)
Setting key aws in github
cd authServices
rm rf .git
git init
git remote add origin your_link_github
git add .
git commit -m "Your commit"
git push origin master
After when push code, then check at Action in github
- Check extension in vs code : https://marketplace.visualstudio.com/items?itemName=humao.rest-client
- Change link at attribute @host = in file authService\test-rest-api\auh_services\regist_account.rest
- And action send request same below images







0 Comments