Skip to content

devendran-m/quotes-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quotes-generator

A random quotes generator using Quotes API

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.

Features:

  • 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.

Installation and Usage:

Clone the repository:

git clone https://github.com/devendran-m/quotes-generator.git

Go to the project folder:

cd quotes-generator

Install dependencies:

npm install

Run the proxy server:

cd quote-generator/src/server

node proxy.js

Open the index.html file in a browser:

Project Structure:

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.

API Credit:

Quotes provided by Quotes API.

License: MIT License

Contributing: Feel free to raise issues or submit pull requests to improve the app.

About

A random quotes generator using Quotes API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published