Implementation for https://gitlab.com/balazs.tar/secret-server-task, using Nuxt 3. Missing express.js, because Nuxt 3 includes unjs/h3.
docker compose up
The server runs on http://localhost:3000
Due to a recent issue with Docker docker/compose#9737, you have to change the DB_HOST to localhost in .env, for local dev setup. Default value is for running in Docker.
# edit .env
DB_HOST=localhost
# run mongodb
docker compose up -d mongodb
# use correct node version
nvm use
# install dependencies
yarn
# run dev server
yarn dev