No description
Find a file
2025-02-19 15:07:27 +01:00
.vscode deactivate vscode html formatter 2025-02-19 00:16:00 +01:00
caddy ok this seems to work 2025-02-14 20:03:28 +01:00
other add nostr resources 2025-02-19 14:11:44 +01:00
scripts small naming improvments 2025-02-13 00:13:56 +01:00
src switch to border box 2025-02-19 15:07:27 +01:00
tests actually check something 2025-02-14 15:07:29 +01:00
.env.dist ok this seems to work 2025-02-14 20:03:28 +01:00
.eslintrc.json . 2025-02-14 12:23:50 +01:00
.gitignore a bit of cleaning 2025-02-14 23:45:58 +01:00
.prettierrc format project 2025-02-14 11:13:18 +01:00
docker-compose.yml ok this seems to work 2025-02-14 20:03:28 +01:00
docker-entrypoint.sh ok this seems to work 2025-02-14 20:03:28 +01:00
Dockerfile postgres reachable from outside container 2025-02-14 23:37:32 +01:00
package-lock.json first test 2025-02-14 14:59:46 +01:00
package.json first test 2025-02-14 14:59:46 +01:00
README.md a bit of cleaning 2025-02-14 23:45:58 +01:00

Express hello world

A joke application.

How to set up dev environment

  • Pre-requisites
    • docker and docker compose
    • node and npm
  • Run npm install
  • You can now start the app in a container by running npm run start:containers (and shut it down with npm run stop:containers).

How to test

  • Run npm run test

How to deploy

The app has never been deployed in production, so there's a lot of things to polish.

The (hypothetical) approach is to:

  • Spin up a linux box.
  • Install node, caddy and postgres.
  • Configure them all nice and stuff so they work together and have a reasonable production set up.
  • Set up the node app with systemd so it runs proper.

Other

  • You can format with npm run format and lint with npm run lint.