Skip to content
usenullishPublic

About

nullish website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

nullish website

This is the website of nullish.

Packages

Package Description
packages/client The prerendered website and the docs.
packages/server An API which sends the contact form mails.

Documentation

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-docs

Local Development

Start Mailpit, which receives the mails sent by the API:

pnpm env:dev

Then, 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 i18n

Tests

The end-to-end tests fill in the contact forms and check the mails in Mailpit. With Mailpit running:

pnpm e2e:playwright:install
pnpm e2e

About

nullish website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages