Skip to content

dvrpc/community-profiles-frontend

Repository files navigation

Community Profiles Frontend

Requires community-profiles-api with postgres db populated by community-profiles-data-builder

  1. Setup required api and database mentioned in repos above
  2. 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
  3. npm i
  4. npm run dev for local development
  5. To build, npm run build:<NODE ENV>. There are build configs for local, staging, and production.
  6. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages