Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/harshitv21/random-quote-generator

A Random Quote Generator that fetches a random quote and a random background image using Express + Axios and displays using React.
https://github.com/harshitv21/random-quote-generator

axios express quotable-api react unsplash-api

Last synced: 2 days ago
JSON representation

A Random Quote Generator that fetches a random quote and a random background image using Express + Axios and displays using React.

Awesome Lists containing this project

README

        

# Random Quote Generator

Random Quote Generator fetches a random quote from [quotable.io](https://docs.quotable.io/docs/api/ZG9jOjQ2NDA2-introduction) along with a random background image from [Unsplash API](https://unsplash.com/documentation#get-a-random-photo) whenever a new quote is fetched.
Added a delay to avoid spams 🏃‍♂️
**Not optimized for mobile ⚠️**

## Frontend

```cmd
cd frontend
npm run dev
```

## Server

```cmd
cd server
npm run start
```

> Make a .env file and add CLIENT_ID to fetch random image using Unsplash API (to generate API key click [here](https://unsplash.com/documentation#creating-a-developer-account)).

## Screenshots

![Screenshot number #1](./assets/random%20quote%20generator%20-%201.png)

![Screenshot number #2](./assets/random%20quote%20generator%20-%202.png)

---