SpotifyElectron
SpotifyElectron copied to clipboard
Create health endpoint
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