Requires community-profiles-api with postgres db populated by community-profiles-data-builder
- Setup required api and database mentioned in repos above
- Create a .env file from env_sample
- get a mapbox access token
- get the appropriate google client secret and id
- the revalidate secret needs to match the secret in the api
- generate a random string for the NEXTAUTH_SECRET
- NEXTAUTH_URL should be the base url of the frontend
- npm i
npm run devfor local development- To build,
npm run build:<NODE ENV>. There are build configs for local, staging, and production. npm start
Note: NextJS only supports development, test, and production out of the box. The development ENV refers to the local setup and staging is for the staging server at cloud.dvprc.org