info
satni.org is a service running on satni.uit.no.
The webapp and its files are found in /home/exist/eXist
It has been started by running this command:
sudo service eXist-db start #EXIST_HOME=/home/exist/eXist $EXIST_HOME/bin/startup.sh
Apps
Backend
Serves as a restful interface to dictionaries and term collections.
An obsolete version seems to live in $GTHOME/apps/risten2/backend, the current version is found in /home/exist/eXist/webapp/WEB-INF/data/fs/db/apps/satni/.
Frontend
Serves as the search interface to dictionaries and term collections found in the satni backend.
An obsolete version seems to live in $GTHOME/apps/risten2/frontend/index.js, the current version is found in /home/exist/eXist/webapp/WEB-INF/data/fs/db/apps/satni/index.js
To get started with frontend development run npm install in frontend/.
main.js is the main code that loads satni component. satni is divided into smaller components, dictlist, search and articles. Each of them are in the satni interface in a row. They are called by the main satni component. Additionally there are rest component, util component, and translation component. They are dependent on mithril js framework, which is located in mithril.js.org. Also Bootstrap is used, but this is included in the backend by eXist shared resources. CSS file is located in assets/css/ folder.
Poking the backend app and get .json answers
To list all dictionaries:
To search for all lemmas in all dictionaries starting starting with "juol":
To lookup the article on "juolgebáddi"