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.
- 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.
Before you begin, ensure you have the following installed:
- Node.js (v12.x or higher)
- npm (v6.x or higher)
Follow these steps to get your development environment running:
-
Clone the repository
git clone https://github.com/your-repository/vite-quote-generator.git cd vite-quote-generator
-
Clone the repository
This project uses npm to manage dependencies. Install all required packages with npm:npm install
-
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
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.