1.0.4 • Published 2 years ago
quiver-quest-quoter v1.0.4
Quiver Quest Quoter
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.
Installation
Use npm to install Quiver Quest Quoter:
npm install quiver-quest-quoterUsage
To start the service, ensure you have Node.js installed and run:
node index.jsMake a GET request to /quote to fetch a random inspirational quote:
curl http://localhost:3000/quoteDependencies
- 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.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License.