Welcome to the WaterJugRiddle API! This API is designed to solve the classic water jug riddle problem, commonly used in job interview tests.
To get started with the API, follow these instructions:
- Node.js installed on your machine
- npm (Node Package Manager) installed on your machine
- Clone this repository to your local machine:
git clone https://github.com/your_username/WaterJugRiddle-API.git
- Navigate into the project directory:
cd WaterJugRiddle-API
- Install the dependencies:
npm install
To run the API, use the following command:
npm run start
To run the tests for the API, use the following command:
npm run test
Once the API is running, you can access the documentation through your web browser using the following URL:
http://localhost:3000/api
Once the API is up and running, you can start solving water jug riddle problems by making requests to the appropriate endpoints. Please refer to the API documentation for more details on available endpoints and their usage.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.