This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or run frontend only and connect to graphql api in aws
next dev -p 3001 # or yarn dev:client
Open http://localhost:3001 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
Graphql playground can be accessed at http://localhost:3001/api/graphql
- Run
aws configure sso
- set SSO start URL: https://skimli.awsapps.com/start
- set SSO Region: us-west-2
- select skimli-env-dev-shared
- select the available role
- set CLI default client Region: us-west-2
- set CLI default output format: json
- set CLI profile name: dev
After configuring, export AWS_PROFILE=dev. Incase the token is expired run aws sso login --profile dev
to refresh the token