Gemeente-DenHaag / mijngemeente-gateway

Public proxy gateway for the OpenZaak API.
Other
1 stars 0 forks source link

Add Express JS server #36

Closed bddjong closed 3 years ago

bddjong commented 3 years ago

This PR implements issue #2 (Basic ExpressJS app).

For now, the server contains two endpoints:

/ping, which serves as an availability check /authentication/mock, which contains the mock authentication endpoint. This returns a JWT for a test user.

bddjong commented 3 years ago

At what point will we start writing tests for functionality like this?

Good question. It was decided (during the sprint review (05/03/21)) that testing and logging implementations are out of scope until we reach a more definitive stage of adding functionality to the gateway. This and a few upcoming issues are highly depended on for the development of an end-to-end proof of concept. This will give us a better picture of how the gateway will function. Testing should be relevant from that point on.

This concern is noted and can be tracked with the following issue:

34 - Establish logging strategy

33 - Establish testing strategy

35 - Continuous deployment

(A continuous integration issue should be created after the testing strategy is done).