A simple web app to create and vote on polls with real-time results.
-
cd backend -
Create and activate a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # macOS/Linux venv\Scripts\activate # Windows
-
pip install -r requirements.txt -
cp .env.example .env -
Generate a secret key:
python -c "from django.core.management.utils import get_random_secret_key; print('SECRET_KEY=' + get_random_secret_key())"Copy the output and replace it inSECRET_KEY=in.env -
python manage.py migrate -
python manage.py runserver
cd frontendnpm installnpm run dev
Backend runs on http://localhost:8000 Frontend runs on http://localhost:3000
Application web pour créer, partager et participer à des sondages en ligne, avec interface intuitive et résultats en temps réel.
- Création de sondages (choix simple/multiple)
- Vote via lien ou code d’accès
- Authentification utilisateurs
- Partage via liens personnalisés
- Backend : Django, Django REST Framework
- Frontend : React, Vite
- UI : shadcn/ui
- Routage : React Router
- API : Axios
- Auth : JWT via djangorestframework_simplejwt
Web platform for creating, sharing, and voting on polls with live results.
- Custom polls (single/multiple choice)
- Voting via link or access code
- User authentication
- Shareable voting links
- Backend: Django + DRF
- Frontend: React + Vite
- UI: shadcn/ui
- Routing: React Router
- API: Axios
- Auth: JWT (djangorestframework_simplejwt)