Welcome to the Galactic Spacefarer Adventure project!
- Open a new terminal and run
cds watch
, orcds serve
- Open a new terminal and run
npm run watch-spacefarers
All tasks are ready, I was using my creativity and innovation with Data Model and Service Definition for the Spacefarers.
The backend is covered with unit tests. Altough draft mode handling is in progress state currently in the unit tests (tests which are not prepared for draft mode are commented out yet).
- Open a new terminal and run
npm test
- Open a new terminal and run
cds serve
- Use
test\spacefarer-service-auth.http
andtest\spacefarer-service.http
- Please note most manual tests work if you disable this line
annotate GalacticSpacefarers with @odata.draft.enabled;
inspacefarer-service-auth.cds
file, as wont work in draft mode.
The application is prefilled with some user data for testing purposes. (Check db/data/*.csv for more details) Also at the current development phase we are using mocked users for authorization, defined in the package.json file.
On GitHUB one can find a working pipeline for the application with test running and linting.