Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 2.29 KB

README.md

File metadata and controls

90 lines (58 loc) · 2.29 KB

Quote Generator using React

This is a simple quote generator web application built using React. It displays random quotes with their respective authors to inspire and motivate users. This project serves as a great introduction to React components, state management, and event handling.

Table of Contents

Getting Started

Prerequisites

Before you begin, ensure you have the following installed on your system:

  • Node.js and npm (Node Package Manager)

Installation

  1. Clone this repository or download the ZIP file.

    git clone https://github.com/your-username/quote-generator.git
  2. Change into the project directory.

    cd quote-generator
  3. Install project dependencies.

    npm install
  4. Start the development server.

    npm start

Your Quote Generator app will be available at http://localhost:3000 in your web browser.

Usage

Once you've started the development server, you can use the app to generate random quotes. Click the "Generate Random Quote" button to display a new inspiring quote along with its author.

Project Structure

The project structure is organized as follows:

quote-generator/
  ├── src/
  │   ├── components/
  │   │   ├── Quote.js
  │   ├── App.js
  │   ├── index.js
  └── package.json
  • src/components/Quote.js: React component responsible for displaying quotes.
  • src/App.js: Main application component handling the quote generation and rendering.
  • src/index.js: Entry point of the application.
  • package.json: Configuration and dependencies.

Features

  • Displays random quotes with their respective authors.
  • Generates new random quotes with the click of a button.

Contributing

Contributions are welcome! If you want to improve this project, submit a pull request, and we'll review it. Feel free to open issues for bug reports or feature requests.

License

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