Add GET endpoints and view
- add
GET /instruments
,GET /instrument/$slug
endpoints - update list view (catalog) in frontend to use api to populate data
- fix node packages for frontend (for vue port to work out of the box)
- update
config.dev.yaml
to usedb
for end-to-end testing
To test new GET endpoints, navigate to:
- http://localhost:8080/api/v1/instruments to see json response of all instruments
- http://localhost:8080/instrument/desktop-ui-interactions to see json of specific instrument
- http://localhost:8080/instrument/web-scroll-ui to see json of specific instrument
To see frontend view of catalog, navigate to http://localhost:5173/ and click on Catalog
in the temporary menu:
Note: for local development, database.host should be set to localhost
(defaults to db
for end-to-end testing).