First, install all dependencies with the command yarn install:
yarn install
Then add the environment variables that appear in the .env.example file:
# Kisaragi Auth Endpoint
NEXT_PUBLIC_KISARAGI_AUTH=https://kisaragi-auth-prod.herokuapp.com/api/v1
# Kisaragi Core Endpoint
NEXT_PUBLIC_KISARAGI_CORE=https://kisaragi-core.herokuapp.com/
# Tax Rate
NEXT_PUBLIC_TAX_RATE=0.15
# Secret for signing token
NEXTAUTH_SECRET=
Then run the local server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
yarn test
yarn test:coverage