Vite Quote Generator

This project is a simple web application that generates random quotes using Vite, a modern frontend build tool. The application fetches quotes from a public API and displays them with their authors and associated tags. Users can generate a new quote by clicking a button.

Features

  • Fetch and display quotes from an API.
  • Responsive design suitable for desktop and mobile.
  • Quotes are presented with author and contextual tags.
  • Button to generate new quotes.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v12.x or higher)
  • npm (v6.x or higher)

Installation

Follow these steps to get your development environment running:

  1. Clone the repository

    git clone https://github.com/your-repository/vite-quote-generator.git
    cd vite-quote-generator
  2. Clone the repository
    This project uses npm to manage dependencies. Install all required packages with npm:

    npm install
  3. Start the development server
    Run the following command to start the Vite development server. This command will compile your project and open it in your default web browser.

    npm run dev

Usage

Once the development server is running:

  • The application will be available at http://localhost:3000.
  • Click the "New Quote" button to load and display a new quote from the API.