As of now, functionality is largely mirrored from the /manifest endpoint. http://localhost/project/7085 loads dummy data from the project.json file, and any other URLs result in appropriate error messages.
npm run unitTests runs the new tests, which currently test the same basic functionality as the tests for /manifest
Added 'project' directory mirroring the structure of the existing 'manifest' directory, including files and tests
Added project.json to 'public' directory, with the same dummy data as manifest.json
Dummy data is loaded from the project.json file instead of the TPEN website
After running
npm start
, navigating to http://localhost:3001/project/{project_id_here} will test out the functionality.As of now, functionality is largely mirrored from the /manifest endpoint. http://localhost/project/7085 loads dummy data from the project.json file, and any other URLs result in appropriate error messages.
npm run unitTests
runs the new tests, which currently test the same basic functionality as the tests for /manifest