playing-with-numbers-node
playing-with-numbers-node copied to clipboard
A simple node.js app that is used to calculate/check some special types of numbers.
Please describe the feature you want this project to offer A route that can return whether the two numbers are amicable or not Describe the solution you'd like Adding logic...
Added a simple workflow running given tests and adding label to PR on success for easy filtering the mergeable PRs
**Bug**: The `/krishnamurthy` endpoint is defined as GET but tries to read `req.body.number`. GET requests don’t have a body, so the endpoint always fails. **Steps to Reproduce:** 1. Run the...
**Bug**: The `/leap_year` POST endpoint crashes when sending a valid year in JSON. **Steps to Reproduce:** 1. Run the server: `node app.js` 2. Send POST request: { "number": 2024 }...