velvet-polls

byDinesh

Create a complete full-stack web application project called "Online Polling System" using: Frontend: - HTML5 - CSS3 - JavaScript Backend: - Python - Django Framework Database: - MySQL The project must be professional, modern UI, responsive design, clean code, and ready to run. ================================================= PROJECT TITLE: ONLINE POLLING SYSTEM ================================================= MAIN REQUIREMENTS: There must be two separate logins: 1. Admin Login 2. User Login Both should use: - Username - Password - Create Account / Register - Login Page - Logout ================================================= AUTHENTICATION MODULE: ================================================= Create secure authentication system using Django sessions. Features: - User registration - User login - Admin login - Password hashing - Logout system - Invalid login error messages - Remember session until logout ================================================= ADMIN DASHBOARD MODULE: ================================================= Create attractive admin dashboard where admin can manage entire system. Features: 1. Poll Management - Add new polls - Edit polls - Delete polls - Add poll options - Set poll active/inactive - Set poll expiry date 2. User Management - View all users - Search users - Delete users - Block/unblock users 3. Voting Analytics - View total votes - View poll-wise votes - View most popular poll - View active users count 4. Dashboard Cards - Total Users - Total Polls - Total Votes - Active Polls 5. Charts - Bar chart for votes - Pie chart for poll results ================================================= USER DASHBOARD MODULE: ================================================= Create clean user dashboard. Features: - Welcome username - View active polls - View voted polls - Profile shortcut - Recent activity ================================================= VOTING MODULE: ================================================= Main core feature. Features: - User can vote only once per poll - Select one option using radio button - Submit vote button - Confirmation popup: "Your vote has been submitted successfully" Rules: - Prevent duplicate voting - If already voted show: "You have already voted in this poll" ================================================= RESULTS MODULE: ================================================= Create results page. Features: - Total votes - Option-wise vote count - Percentage % - Winner option highlighted - Live progress bars - Poll result chart ================================================= USER PROFILE MODULE: ================================================= Features: - View profile - Edit name - Change password - Logout - View joined date - Total polls voted ================================================= PAGES REQUIRED: ================================================= 1. Home Page 2. Register Page 3. Login Page 4. Admin Login Page 5. User Dashboard 6. Admin Dashboard 7. Poll List Page 8. Vote Page 9. Results Page 10. User Profile Page ================================================= DATABASE TABLES (MYSQL): ================================================= Create proper MySQL models/tables: 1. Users - id - username - password - role - full_name - created_at 2. Polls - id - question - created_by - created_at - is_active 3. PollOptions - id - poll_id - option_text 4. Votes - id - user_id - poll_id - option_id - voted_at ================================================= UI DESIGN: ================================================= Use modern UI with: - Bootstrap or custom CSS - Responsive mobile friendly layout - Sidebar dashboard - Cards - Tables - Buttons - Hover effects - Clean forms Color Theme: Blue + White + Dark Gray ================================================= SECURITY: ================================================= - CSRF protection - Form validation - Secure login - Password encryption - Session handling ================================================= EXTRA FEATURES: ================================================= - Search polls - Pagination - Flash messages - Poll countdown timer - Dark mode (optional) ================================================= OUTPUT REQUIRED: ================================================= Give full Django project with: - models.py - views.py - urls.py - forms.py - templates folder - static/css - static/js - SQL/MySQL setup - Step by step installation guide Also give command to run: python manage.py makemigrations python manage.py migrate python manage.py runserver ================================================= IMPORTANT: ================================================= Code must be beginner friendly, properly commented, clean folder structure, and fully working without errors.

Register
Register

Comments (0)

No comments yet. Be the first!

Architecture

No Services Diagrams Yet

Architecture diagrams will be automatically generated when the Project Manager creates tasks for your project.

Landing: View Galaxy
AdminLogin: Sign In
AdminDashboard: View Cards
AdminDashboard: View Charts
PollList: Manage Polls
PollList: Add Poll
PollList: Edit Poll
PollList: Delete Poll
UserManagement: View Users
UserManagement: Search Users
UserManagement: Block User
Analytics: View Vote Stats