elixir-cloud-aai / crate-db

Microservice for handling RO-Crates
Apache License 2.0
0 stars 0 forks source link

Write FOCA configuration #2

Open Rahuljagwani opened 3 months ago

Rahuljagwani commented 3 months ago

Reference for writing specifications can be taken from: Link

It might be better to write controllers along with specifications one by one, but they can also be written after writing specs and changes if needed to be done in the specification file.

uniqueg commented 3 months ago

I agree that it's best to fire up the FOCA app with the specs and the Swagger UI and get the general project/dir structure right (following examples like proTES, Cloud Registry, TRS-Filer etc) and then implement the controllers one by one (along with unit and integration tests, docstrings etc). More agile, easier to review etc.

Check the TESK project board for inspiration of writing issues for controllers, as well as a "meta issue" to track the progress of controller implementation. It can also serve as inspiration for additional issues with regard to CI, docs etc, as the development of this app will pretty much follow the same path (minus the TES(K)-specific stuff.

uniqueg commented 3 months ago

Note also that I am creating a separate issue for the OpenAPI specs (which should be addressed before this one).