This is the website of nullish.
| Package | Description |
|---|---|
packages/client |
The prerendered website and the docs. |
packages/server |
An API which sends the contact form mails. |
Important
Don't edit the .mdoc pages in packages/client here.
They live in the docs/ folders of nullish, document-templates and email-templates, and get overwritten on every sync.
A CI action can sync them. To pull the latest manually:
pnpm --filter @usenullish/site-client sync-docsStart Mailpit, which receives the mails sent by the API:
pnpm env:devThen, in another terminal, install the dependencies and start the website and the API:
pnpm i --frozen-lockfile
pnpm dev| URL | Service |
|---|---|
| http://localhost:4321 | The website, which proxies /api to the API |
| http://localhost:3000 | The API |
| http://localhost:8025 | Mailpit, to read the mails sent locally |
After changing the English translations in packages/client/src/assets/i18n/en.json, regenerate their types:
pnpm --filter @usenullish/site-client i18nThe end-to-end tests fill in the contact forms and check the mails in Mailpit. With Mailpit running:
pnpm e2e:playwright:install
pnpm e2e