Skip to content

jaymehta002/quote_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quote Generator Website

A simple quote generator website built using Node.js and Express.

🚀 Features

  • Generates random quotes
  • Offers various categories for quotes
  • Allows users to copy quotes to the clipboard

🛠️ Installation

  1. Clone the repository: git clone https://github.com/jaymehta002/quote-generator.git
  2. Navigate to the project directory: cd quote-generator
  3. Install dependencies: npm install

🖥️ Usage

  1. Run the server: node app.js
  2. Open the browser and go to http://localhost:3000 to access the website.

⚙️ Dependencies

  • Express
  • node-quotegen

📡 API Endpoints

  • /api/quote - Retrieves a random quote.
  • /api/quote/:category - Retrieves a random quote from the specified category.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

✍️ Author

Jay Mehta

Made with ❤️