This project allows tocreat a GET rest endpoint with a number as pathVariable.
This endpoint should return :
- http code 400 if the number is negative;
- Fibonacci if it's a odd number
- Factorial if it's an even number and less than 51
- The number if it's an even number and great than 50
The project has been deployed on Heroku.
Here is the link of the project.