Skip to content
/ web Public

Multi-tenant avalanche center website built on Next.js and PayloadCMS.

Notifications You must be signed in to change notification settings

NWACus/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avalanche Center Websites

# start local postgres
$ podman run --name payload --env POSTGRES_PASSWORD=password --env POSTGRES_USER=payload --publish 5432:5432 --detach postgres:17
# connect locally
$ PGPASSWORD=password psql -h localhost -p 5432 -U payload
# configure payload to use it
$ echo 'POSTGRES_URL=postgresql://payload:password@localhost:5432' >> .env

// TODO: properly put media into tenant buckets

// TODO: hydration errors based on image src ... // + srcSet={"/_next/image?url=http%3A%2F%2Fnwac.localhost%3A3000%2Fapi%2Fmedia%2Ffile%2Fi..."} // - srcSet={"/_next/image?url=http%3A%2F%2Flocalhost%3A3000%2Fapi%2Fmedia%2Ffile%2Fimage-..."}

// TODO: rename tenant to avalanche center // TODO: update payload PR to use image IDs // TODO: verify preview works // TODO: publish to vercel

About

Multi-tenant avalanche center website built on Next.js and PayloadCMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published