https://github.com/dvrpc/community-profiles-frontend
https://github.com/dvrpc/community-profiles-frontend
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dvrpc/community-profiles-frontend
- Owner: dvrpc
- Created: 2025-07-30T15:06:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-12-16T16:46:20.000Z (6 months ago)
- Last Synced: 2025-12-20T07:47:46.624Z (6 months ago)
- Language: TypeScript
- Size: 282 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Community Profiles Frontend
Requires [community-profiles-api](https://github.com/dvrpc/community-profiles-api) with postgres db populated by [community-profiles-data-builder](https://github.com/dvrpc/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](https://docs.mapbox.com/help/glossary/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:`. 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