ChuckleHub is a web application that delivers a daily dose of laughter through a curated collection of jokes. It offers features like joke rating, different joke levels, and a refreshable joke list.
- Fetch and display random jokes
- Rate jokes and store ratings
- Choose joke levels (Clean, Mild, Dark)
- Responsive design with dark mode support
- Animated transitions for a better user experience
- Python 3.8+
- Django 3.2+
- Requests library
- GSAP (GreenSock Animation Platform) - included via CDN
- Font Awesome - included via CDN
- Clone the repository
git clone https://github.com/NobleRex/ChuckleHub.git
cd chucklehub
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate - On macOS and Linux:
source venv/bin/activate
- Install the required packages:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Create a superuser (optional):
python manage.py createsuperuser
- Start the development server:
python manage.py runserver
- Open a web browser and navigate to
http://127.0.0.1:8000/
Gags/- Main application directoryviews.py- Contains view functionsurls.py- URL configurations for the apptemplates/Gags/- HTML templatesstatic/- CSS and JavaScript filesChuckleHub/- Project configuration directorymanage.py- Django's command-line utility for administrative tasks
Contributions are welcome! Please feel free to submit a Pull Request.