A full-stack quiz application featuring fun historical events from 1990-2000! Built with Python Flask backend and React frontend with beautiful Tailwind CSS styling.
- 10 Fun Questions about positive historical events from the 1990s
- Real-time Feedback with popups showing correct/incorrect answers
- Live Statistics showing success rates for each question
- Detailed Results Summary with score breakdown and performance metrics
- Modern UI with beautiful animations and responsive design
- In-memory Storage - no database required
- Share Score functionality to challenge friends
- Python 3.7+
- Node.js 16+
- npm or yarn
-
Navigate to backend directory:
cd backend
-
Create virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run Flask server:
python app.py
Backend will run on
http://localhost:8080
-
Open new terminal and navigate to frontend:
cd frontend
-
Install dependencies:
npm install
-
Start development server:
npm run dev
Frontend will run on
http://localhost:3000
- Open
http://localhost:3000
in your browser - Answer each question by selecting an option
- Click "Submit Answer" to see immediate feedback
- View statistics about how others answered
- Complete all questions to see your final score
- Share your score and try again!
├── backend/
│ ├── app.py # Flask server with API endpoints
│ └── requirements.txt # Python dependencies
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ │ ├── Quiz.jsx # Main quiz logic
│ │ │ ├── AnswerPopup.jsx # Answer feedback popup
│ │ │ └── ResultsSummary.jsx # Final results screen
│ │ ├── App.jsx # Main app component
│ │ ├── main.jsx # React entry point
│ │ └── index.css # Tailwind styles
│ ├── index.html # HTML template
│ ├── package.json # Node dependencies
│ ├── vite.config.js # Vite configuration
│ └── tailwind.config.js # Tailwind configuration
└── README.md
GET /api/questions
- Fetch all quiz questionsPOST /api/submit
- Submit answers and get resultsGET /api/stats
- Get question statistics
Fun and positive events from 1990-2000:
- Gaming console launches (PlayStation, Nintendo 64)
- Technology breakthroughs (Google, DVD, Web)
- Entertainment milestones (Toy Story, Harry Potter, The Matrix)
- Pop culture phenomena (Pokémon, Tamagotchi)
- Modify questions in
backend/app.py
- Add new API endpoints as needed
- Statistics are stored in memory and reset on server restart
- Components are in
frontend/src/components/
- Styling uses Tailwind CSS classes
- Animations and interactions are built-in
cd frontend
npm run build
- Add Questions: Edit the
quiz_questions
array inbackend/app.py
- Styling: Modify Tailwind classes in components or
frontend/src/index.css
- Animations: Update animation classes in
tailwind.config.js
For production deployment:
- Build the React frontend (
npm run build
) - Serve static files through Flask or a web server
- Use a production WSGI server like Gunicorn
- Consider adding a database for persistent storage
Have fun testing your 90s knowledge! 🎊