fa6dc11fee Update backend services, user right tests and user right documentation (#1217)
* update some backend tests slightly, and update user right docs

* improve locality updating tests

* refactor species merge tests, and add more user rights tests to merging

* fix locality user right issue with users being able to bypass project membership requirements by adding new projects when updating a project, and add tests

* fix small, copilot suggested issues

* change bigint value back to number, and fix hanging test

* add error content checks and  get request test for regions

* add error content checks and reorder tests in time bound/time unit

* add person get tests, update delete tests, and update user right docs

* update museum tests

* update testing docs

* add tests for all user groups in project delete tests

* add more user right tests to project/ and projects/

* Fix pid test

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Rename project get test describe block

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-20 15:01:14 +03:00
2026-06-09 13:36:28 +03:00
2026-04-14 15:11:05 +03:00
2026-04-14 15:11:05 +03:00

Nowdatabase

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.


Developer documentation

Basic commands 💻

  • npm run setup
    • Creates all files and directories required to run the project
  • npm run dev
    • Runs the application in development mode
    • Supports hot reloading
    • Serves frontend by default at http://localhost:5173
  • npm run test:api
    • Runs api-tests inside Docker
    • Requires database to be running (start one with correct data: npm run start:anon:api)
  • npm run test:e2e
    • Runs api-tests inside Docker
    • Requires frontend, backend and database to be running (start all with npm run start:anon)

Further documentation

🚀 Setup app & restore db How to get the app up & running, and initialize database from sql-dumps

⌨️ List of all commands A comprehensive list of all of the most important commands

🙌 Contributing & integration flow Where to commit? Where are tests run? How is the code deployed?

📝 Frontend Explanation of the frontend logic and how to add views

📑 Species synonym creation flow Backend write logic overview used by the synonym API tests

🔎 Validators The readme explains how validators are written

🔎 Class diagram See the relations of relevant tables. Notice that it omits some unimportant tables and does not show most columns.

🌍 Map features Maps' functionality and development notes

DeepWiki documentation for the NOW database can be found here: Ask DeepWiki


Documentation index

See documentation/README.md for the full documentation tree (includes reviewer notes, FAQ, and a complete list of docs).

S
Description
No description provided
Readme MIT
16 MiB
Languages
TypeScript 92.9%
JavaScript 5.6%
CSS 0.6%
Dockerfile 0.5%
PHP 0.3%
Other 0.1%