A NodeJS Express API for querying eolas-db, the database of my zettelkasten.
|
All checks were successful
Deploy eolas-api / deploy (push) Successful in 22s
|
||
|---|---|---|
| .forgejo/workflows | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
TBC
| HTTP Method | Path | Parameter | Returns |
|---|---|---|---|
| GET | entry |
entry_title |
Body text, tags, title |
| GET | tag |
tag_name |
List of entries for supplied tag |
| GET | refs |
entry_title |
List of linked entries |
| GET | full_metadata |
entry_title |
Tags, links, last modified |
| GET | graph |
null |
Full network graph |
Deployment
Deployment is automated via Forgejo action (see .forgejo/workflows/deploy.yml).
On pushes to main:
-
Automatically bump version in accordance with Semver:
- Major:
major: <commit description>, - Minor:
feat: <commit description>, - Patch:
fix: <commit description> - Ignored keywords:
chore,test,refactor, and anything else
- Major:
-
This bumps the version in
package.jsonand creates Git tag at this version. -
SSH to VPS using
deployuser and :- Purge existing source files at
var/www/eolas-api, - Copy over new source files
- TODO: restart Node server
- Purge existing source files at