Skip to content

dmarcwise/certs-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

certs.email

This repository contains the source code for certs.email.

Development

Install dependencies with npm install, then run:

npm run dev

Or start the server and open the app in a new browser tab:

npm run dev -- --open

Formatting and linting

Code formatting is handled by Prettier. To format the whole repository:

npm run format

To check formatting and run ESLint:

npm run lint

TypeScript, accessibility, and Svelte compiler errors are caught by svelte-check:

npm run check
  • VS Code: install the recommended Prettier and ESLint extensions (see .vscode/extensions.json).
  • WebStorm: works out of the box via .idea/prettier.xml and .idea/jsLinters/eslint.xml. Both set a custom file pattern, because WebStorm's default omits .svelte.

Build

Create a production build:

npm run build

Run it with:

node build

Environment variables

  • DATABASE_URL: PostgreSQL connection string.
  • LETTERMINT_API_TOKEN: Lettermint API token for sending email.
  • WEBSITE_URL: Base URL used in email links.
  • PORT: HTTP port for the Node server (defaults to 3000).

Docker

Build and run the production image:

docker build -t certs-email .
docker run --rm -p 3000:3000 certs-email

About

Source code of the free certificate monitoring service certs.email.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages