File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1- # Example ACM@ UIUC Node-based API using AWS Lambda/API Gateway
1+ # ACM @ UIUC Core API
22
33## Run Locally
4- 1 . ` yarn -D `
5- 2 . ` make check_account_dev ` - If this fails make sure that AWS is configured.
6- 3 . ` make local `
4+ 1 . Copy ` .env.sample ` as ` .env ` and set the ` JwtSigningKey ` to a random string.
5+ 2 . Enable Tailscale VPN so you can reach the development database in AWS
6+ 3 . Log into AWS with ` aws configure sso ` so you can retrieve the AWS secret and configuration.
7+ 4 . ` yarn -D `
8+ 5 . ` make check_account_dev ` - If this fails make sure that AWS is configured.
9+ 6 . ` make local `
710
811## Build for AWS Lambda
9121 . ` make clean `
1720
1821## Generating JWT token
1922
20- Create a ` .env ` file containing your ` CLIENT_SECRET ` .
23+ Create a ` .env ` file containing your ` AadClientSecret ` .
2124
2225``` bash
2326node --env-file=.env get_msft_jwt.js
You can’t perform that action at this time.
0 commit comments