NOW - New and Old Worlds - Database of fossil mammals
Rebuild of a fossil database application, old version at https://nowdatabase.luomus.fi/
The new version is not deployed yet.
Basic commands :computer:
npm run setup
npm run dev
docker-compose.dev.yml
Testing:
npm run check
tsc
and eslint
for frontend and backend: Use this to check for errors before committing, if you feel like it.npm run start:anon
docker-compose.anon.yml
npm test
npm run cypress
Run with the same image that is used in production:
npm start
docker-compose.yml
npm start -- --build
to force rebuild of containers.Further documentation
:rocket: Initialize app & restore db How to get the app up & running, and initialize database from sql-dumps
:wrench: Technical explanations Explanations of how things work, and guides for some more rare tasks like updating database-schema
:raised_hands: Contributing & integration flow Where to commit? Where are tests run? How is the code deployed?
:memo: Frontend Explanation of the frontend logic and how to add views
:mag_right: Validators The readme explains how validators are written
:mag_right: Class diagram See the relations of relevant tables. Notice that it omits some unimportant tables and does not show most columns.