SpotifyElectron icon indicating copy to clipboard operation
SpotifyElectron copied to clipboard

Create health endpoint

Open AntonioMrtz opened this issue 2 months ago • 7 comments

Description

Create a health endopoint

Context

Having a simple health endpoint allows us to determine if the app has launched correctly. The goal is creating and endpoint in /health/ and return with a code 200 OK.

How to do it

Create a health router that returns code 200 OK and add it to main file routers

Testing

  • Create a test that makes a request to the health endpoint and check if it returns code 200

AntonioMrtz avatar May 01 '24 16:05 AntonioMrtz