Quiver Quest Quoter is a minimalistic library designed to fetch and display inspirational quotes. It utilizes a simple caching mechanism to optimize response times and reduce API call frequency.
Use npm to install Quiver Quest Quoter:
npm install quiver-quest-quoter
To start the service, ensure you have Node.js installed and run:
node index.js
Make a GET request to /quote
to fetch a random inspirational quote:
curl http://localhost:3000/quote
- axios: For making HTTP requests.
- dotenv: To manage environment variables.
- express: To create the server.
- node-cache: For caching the quotes.
- cors: To enable CORS.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.