...aka Google Forms without Google Forms, tailored for FSSPX Poland needs.
+ Ad maiorem Dei gloriam! +
-
Setup proper Node version with nvm:
nvm use
-
Create
.envfile with required env vars. Use.env.exampleas a base. Don't forget to adjust/change the default values of secrets! -
Make sure you have a running MongoDB instance, matching
DATABASE_URIfrom.env. With Docker, you can achieve that quickly with:docker run --name form-builder-db -v form-builder-db:/data/db -d -p 27017:27017 mongoIf you don't want to populate your own database, reach out to this repository maintainer for an URI used in the testing environment. This should be replaced soon with a local db seed to avoid overwriting the testing data.
-
Run the development server:
pnpm dev
-
Open http://localhost:3000/admin with your browser to reach the PayloadCMS Admin panel.
Nothing fancy, just:
pnpm build && pnpm start