Beautiful, interactive web application for generating and sharing inspirational quotes
This project is a beautiful and interactive web application that generates inspirational quotes from famous authors and personalities. It features a clean, modern design with responsive layout and provides users with the ability to get new quotes, copy them to clipboard, and share them on various social media platforms.
- Beautiful, centered quote container with elegant typography
- Displays inspirational quotes with author attribution
- Automatic loading of quotes on page load
- "New Quote" button to fetch fresh inspirational content
- Integration with ZenQuotes API for real-time quote fetching
- Fallback system with curated quotes when API is unavailable
- One-click copy functionality for easy sharing
- Visual feedback with success notification
- Handles both modern and legacy browser compatibility
- Share quotes on Twitter, Facebook, and WhatsApp
- Web Share API support for mobile devices
- Custom sharing modal with multiple platform options
- Mobile-first approach with responsive breakpoints
- Elegant typography using Google Fonts (Playfair Display)
- Beautiful card-based layout with subtle shadows
- Font Awesome icons for enhanced user experience
- Built-in rate limiting to prevent API abuse
- Automatic fallback to local quotes when rate limited
- Seamless user experience even during API restrictions
git clone https://github.com/bouglacemarouane/QuoteGenerator.gitcd QuoteGeneratornpm installnode server.jsOpen your browser and navigate to:
- Frontend:
http://localhost:3000(or openindex.htmldirectly) - API Endpoint:
http://localhost:3000/api/quote
π Clean, centered design with quote display and action buttons.
Returns a random inspirational quote in JSON format.
Response Format:
[
{
"q": "The only way to do great work is to love what you do.",
"a": "Steve Jobs"
}
]Contributions to this project are welcome! If you have suggestions, improvements, or bug fixes, please submit a pull request. Make sure to follow coding conventions and maintain consistent styles.
If you encounter issues or want to request a new feature, please open an issue in the repository with as much detail as possible.
- π Report Bugs - Found an issue? Let us know!
- π‘ Suggest Features - Have ideas? We'd love to hear them!
- π§ Submit Pull Requests - Code contributions are welcome
- π Improve Documentation - Help make our docs better
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
If you like this project, don't forget to leave a β on GitHub. Thank you and happy coding! π
Thank you for visiting Quote Generator! π¬β¨