https://github.com/rijughosh01/joke-gen
Welcome to the Joke Generator!
https://github.com/rijughosh01/joke-gen
fun jokes-api nodejs random-jokes react
Last synced: 24 days ago
JSON representation
Welcome to the Joke Generator!
- Host: GitHub
- URL: https://github.com/rijughosh01/joke-gen
- Owner: rijughosh01
- Created: 2025-01-16T14:32:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-18T05:00:15.000Z (over 1 year ago)
- Last Synced: 2025-08-30T07:22:29.512Z (9 months ago)
- Topics: fun, jokes-api, nodejs, random-jokes, react
- Language: JavaScript
- Homepage: https://joke-gen-72fb.onrender.com
- Size: 182 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Joke Generator
Welcome to the Joke Generator! This React application fetches random jokes from an API, allows users to save their favorite jokes, share jokes on social media, switch between dark and light themes, and select different joke categories.
## Features
**Random Joke Fetching**: Fetch random jokes from an external API.
**Favorite Jokes**: Save and delete your favorite jokes.
**Dark Mode**: Toggle between dark and light themes.
**Joke Categories**: Select different categories of jokes (e.g., programming, general).
**Social Media Sharing**: Share jokes on Facebook and Twitter.
**Accessibility**: Improved accessibility with ARIA labels, keyboard navigation, and color contrast adjustments.
## Technologies Used
- React
- Redux-React
- Redux
- React-Share
- CSS
## Getting Started
Make sure you have the following installed on your system:
- Node.js
- npm (Node Package Manager)
### Installation
1. **Clone the Repository**:
```bash
https://github.com/rijughosh01/joke-generator
```
cd joke-generator
2. **Install Dependencies**:
npm install
### Running the Application
**To start the development server, run**:
```bash
npm start
```
### Usage
**Fetch Jokes**: Click the "Fetch a new joke" button to get a random joke.
**Save Favorite Jokes**: Click the "Save as Favorite" button to save the current joke to your favorites.
**Delete Favorite Jokes**: Click the "Delete" button next to a favorite joke to remove it from the list.
**Toggle Dark Mode**: Click the "Switch to Light/Dark Mode" button to toggle between themes.
**Select Categories**: Use the dropdown to select different categories of jokes.
**Share Jokes**: Use the social media buttons to share jokes on Facebook and Twitter.
### License
This project is licensed under the MIT License.
### Contact
For any inquiries or feedback, please contact pg4009355@gmail.com.
Enjoy generating jokes! 😊