A simple app that fetches random quotes from the Quotes API and allows users to copy or share them. Built using HTML, CSS, and JavaScript.
- Fetches random quotes from a free Quotes API.
- Copy quotes using the Clipboard API.
- Share quotes via WhatsApp using the Navigator API.
- Responsive UI with clean design.
Clone the repository:
git clone https://github.com/devendran-m/quotes-generator.gitGo to the project folder:
cd quotes-generatorInstall dependencies:
npm install
Run the proxy server:
cd quote-generator/src/server
node proxy.js
Open the index.html file in a browser:
index.html: Main UI for the app.
proxy.js: Proxy server to handle CORS issues.
copyQuote.js: Handles copying quotes to the clipboard.
shareQuote.js: Handles sharing quotes via WhatsApp.
index.js: Core functionality for fetching and displaying quotes.
Quotes provided by Quotes API.
License: MIT License
Contributing: Feel free to raise issues or submit pull requests to improve the app.