An open API service indexing awesome lists of open source software.

https://github.com/ayokanmi-adejola/random-quote-machine

A simple and elegant random quote generator built with React, TypeScript, and Tailwind CSS. Fetches and displays inspirational quotes, and allows users to share them on Twitter. The UI features a dynamic color scheme that changes with each new quote.
https://github.com/ayokanmi-adejola/random-quote-machine

mobile-first-workflow react18 tailwindcss typescript vite

Last synced: about 1 month ago
JSON representation

A simple and elegant random quote generator built with React, TypeScript, and Tailwind CSS. Fetches and displays inspirational quotes, and allows users to share them on Twitter. The UI features a dynamic color scheme that changes with each new quote.

Awesome Lists containing this project

README

          

# Random Quote Machine

This is a simple web application that displays random quotes and allows you to share them on Twitter. The background color of the page also changes every time a new quote is generated

![image](https://github.com/user-attachments/assets/3dd30d70-a8f6-4916-a11e-2cda18099e65)

## Features

- **Display Random Quotes:** Shows a new quote from a curated list each time the "New Quote" button is clicked.
- **Tweet Quotes:** Allows you to share the current quote on your Twitter feed.
- **Dynamic Background Colors:** The background color of the page changes with each new quote.
- **Responsive Design:** The application is designed to work well on different screen sizes.

## Technologies Used

- [React](https://reactjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Vite](https://vitejs.dev/)

## Getting Started

To get a local copy up and running, follow these simple steps.

### Prerequisites

- [Node.js](https://nodejs.org/en/) installed on your machine.

### Installation

1. Clone the repo
```sh
git clone https://github.com/Ayokanmi-Adejola/Random-Quote-Machine
```
2. Install NPM packages
```sh
npm install
```
3. Start the development server
```sh
npm run dev
```
4. Open your browser and navigate to `http://localhost:5173/`