Backend for the Admin webapp
These are global tools and libraries that are required to run the backend:
If you have not run the bootstrap previously run:
make bootstrap
To get a running version of the API on http://localhost:8888 run:
make dev
To run the test suite run:
make test
To run a specific test suite run:
# a specific suite
make test TEST=tests/unit_tests/
# a spcific file
make test TEST=tests/unit_tests/routers/ingest/test_bulk_ingest.py
# a specific function
make test TEST=tests/unit_tests/routers/ingest/test_bulk_ingest.py::test_bulk_ingest
This repository along with the frontend repository forms the necessary components that make up the Admin Pages/Interface/Service. These pages will provide the ability to edit Documents, Families, Collections and Events (DFCE). At the moment an MVP is being worked on that will have limited functionality, the specification can be found on the CPR notion pages here: MVP Admin Interface. Also on the notion pages is the Admin API Specification.
See the linear project.
If you are new to the repository, please ensure you read the getting starting guide and the design guide.
For the full procedure on how to do a bulk import of data see this document.