See CONTRIBUTING.md
You will need to provide the following environment variables:
NEXT_PUBLIC_AWS_COGNITO_POOL_ID
: Your Amazon Cognito User Pool IDNEXT_PUBLIC_AWS_COGNITO_CLIENT_ID
: Your Amazon Cognito App Client IDNEXT_PUBLIC_COGNITO_DOMAIN
: Your Amazon Cognito Managed Login domainNEXT_PUBLIC_OAUTH_SIGN_IN_REDIRECT_URL
: Your app's sign in redirect URL as configured in Amazon CognitoNEXT_PUBLIC_OAUTH_SIGN_OUT_REDIRECT_URL
: Your app's sign out redirect URL as configured in Amazon CognitoNEXT_PUBLIC_AWS_REGION
: Your Amazon Cognito User Pool's regionNEXT_PUBLIC_API_URL
: Your ttg-server deployment URL
-
Clone the project to your workspace.
git clone <url> ttg-client cd ttg-client
-
Create a .env file with development presets. Then enter your own environment variables from the links above.
cp .env.example .env
-
Install and use the project's supported Node.js version.
With nvm:
nvm install
With fnm:
fnm install
-
Install dependencies.
npm install
-
Build the website.
npm run build
-
Serve the website on
localhost:3000
.npm run serve
- Language: JavaScript
- Framework: Next.js
- Styling: TailwindCSS
- Authentication: react-oidc-context
- Runtime: Node.js
- Package Manager: npm
- Version Control System:
- CI/CD: GitHub Actions
- Linting: ESLint
- Formatting: Prettier
- Git Hooks: