Skip to content

0.10.0

Choose a tag to compare

@basilesimon basilesimon released this 23 Aug 09:26
· 118 commits to main since this release
886370e

Major change: new Docker architecture

The new docker-compose structure sets up two services: the API and the UI. The latter, which used to be a running npm script, is now an Nginx webserver serving files resulting from the Svelte build.

API requests are now proxied from the UI. No need to call localhost:3000/endpoint – the UI can reach the API at /api/endpoint, thus facilitating future set up of a hosted service at a custom URL.

We're now relying on the presence of an .env file including some details about the ledger. See "Environment" in the documentation

Minor changes

• Unit tests for the Verify module. Another upstream change improved the handling of nulls and with this added strictness the Verify functions were refactored a bit so the returns would be more in line with expectations, i.e. a 404 for not found and a 200 for a match. see commit
• Unit tests and refactor of the Store module, notably so a configuration object is passed around to define where should data be stored (presently: only at a local path). see commit
• Refactor handling of file extensions: File.FileName() helps us handle the different file extensions we're supporting, i.e. HTML, PNG. see commit