This is a Next.js application for SVCSA website
# Install dependency
npm install
# Start local server
npm run dev
Open http://localhost:3000 with your browser to see the result.
This application is a front end React application. Technically it can work with production API, beta API or your local served API.
Please DO NOT directly access production API during development.
This is the default behavior if you don't make any further changes.
API URL is http://svcsa-tf-api.westus.azurecontainer.io:3030/
BUT given the unstable nature of Beta, it is expected to be up and down sometimes
To know more about the available APIs, check http://svcsa-tf-api.westus.azurecontainer.io:3030/docs/
- Run your local API server and make sure it is accessible through browser.
- Create a file called
env.local
- Put
NEXT_PUBLIC_REACT_APP_API_DOMAIN = "{:YOUR_LOCAL_API_URL}"
- Restart Server
TailWindCss is embedded in the Next.js. Please use TailWindCss's utilities as much as possible.
For components, Please based on the component UI listed in NextUI
Testing is not OPTIONAL
Deployment is automatic after PullRequest merged to master
branch
The change will be deployed to beta
environment.
TBD