Drug Free Community Final Year Project with Source Code | Source Code
LIMITED TIME
Get Source Code ₹99
Open Live Demo
Real project UI Full source included Opens in new tab

Tap to open live demo

Interactive live demo — verify the project before you buy

Drug Free Community Final Year Project with Source Code

Live Demo

Complete final-year project source code with frontend, backend, database, and setup guide. Instant download after secure payment.

  • PYTHON Stack
  • Instant Download
Secure CCAvenue payment Instant download link WhatsApp support

Choose your plan

Source Code Only

Full ZIP with frontend, backend, database & documentation.

₹99 one-time
  • Complete project source files
  • Database script included
  • How-to-run guide

What's in your download

Review features, setup steps, and credentials before you pay.

Project Overview

Description, tech stack, and what is included

Full source Frontend + backend
Database .sql file
Setup guide README included

Drug Free Community is a Python Flask based final year project developed for drug prevention awareness, school safety, anonymous incident reporting, counselling support, and community coordination. This major project includes five role-based portals for Student, Parent, Educator, Admin, and Law Enforcement users. Students can access awareness guidance, take quizzes, join campaigns, submit incident reports, view counselling contacts, and track progress. Parents can read warning signs, submit reports, view campaigns, access counselling contacts, and monitor activity. Educators can access training materials, submit incident reports, create awareness campaigns, and view quiz participation. Admins can manage users, awareness content, quizzes, campaigns, reports, counselling contacts, hotspots, brand settings, and analytics. Law enforcement users can manage forwarded cases, update case status, track hotspot areas, and view statistics. This drug prevention system source code is suitable for students who need a final year project, major project, minor project, source code, and project report based on Python Flask and SQLite.

Technical snapshot

Project
Drug Free Community Final Year Project with Source Code
Stack
PYTHON
Includes
Code, DB, README
License
Academic submission
Secure CCAvenue payment · Instant download · Need help? WhatsApp us

Ready to download?Pay once · Use for submission & viva

Admin Features

Modules and controls available to administrators

  • Admin login and logout in this final year project
  • Admin dashboard with user counts, report pipeline, pending alerts, recent registrations, and reports by status
  • Platform analytics
  • View reports by type
  • View reports by status
  • View top incident types
  • View quiz popularity
  • View campaign breakdown
  • Admin profile update
  • Admin password change
  • User management by role
  • Manage students
  • Manage parents
  • Manage educators
  • Manage law enforcement users
  • Search users by name, username, or email
  • Filter active/inactive users
  • View user profile and recent activity
  • Add new users
  • Edit user profile fields
  • Reset user password
  • Activate/deactivate user accounts
  • Delete users
  • Awareness content CRUD management
  • Add awareness article
  • Edit awareness article
  • Delete awareness article
  • Filter content by target audience, category, and status
  • Quiz CRUD management
  • Create quiz
  • Edit quiz metadata
  • Add quiz questions
  • Edit quiz questions
  • Delete quiz questions
  • Delete quiz
  • View student attempts
  • Campaign CRUD management
  • Add awareness campaign
  • Edit campaign details
  • Delete campaign
  • Filter campaigns by status
  • View registered student participants
  • Report moderation
  • View all incident reports
  • Filter reports by status
  • Filter reports by reporter type
  • Search reports by ID, location, or type
  • Review report details
  • View evidence
  • Add admin remarks
  • Verify report
  • Reject report
  • Forward report to law enforcement
  • View law enforcement case timeline
  • Counselling contact management
  • Add counselling contact
  • Edit counselling contact
  • Delete counselling contact
  • Filter contacts by type and status
  • Hotspot management
  • View hotspot areas
  • View hotspot detail
  • Toggle public/private visibility
  • Delete hotspot records
  • Brand settings management
  • Update platform name
  • Update logo path
  • Update organization name
  • Update contact email
  • Update helpline
  • Update address
  • Update about content
  • Update footer text

User Features

What end users can do in this application

Student Features in this Final Year Project

  • Student registration
  • Student login and logout
  • Student dashboard with quizzes taken, campaigns joined, reports submitted, and recent activity
  • Browse student-targeted guidance content
  • Read full awareness articles
  • Submit incident reports
  • Add incident type, location, date, description, suspected activity, and evidence
  • Submit anonymous incident report
  • View own reports
  • View report status badges
  • View report details and admin remarks
  • Edit pending reports
  • Delete pending reports
  • Browse active quizzes
  • Take multiple-choice quizzes
  • View quiz score
  • View latest quiz result
  • View specific quiz attempt with answers
  • View full quiz attempt history
  • Delete own quiz attempt for retake
  • Browse awareness campaigns
  • View campaign details
  • Register for campaigns
  • Withdraw from campaigns
  • View counselling contacts
  • Filter contacts by type
  • Update profile
  • Change password
  • View learning progress
  • Track quiz scores, campaign participation, and report history

Parent Features in this Final Year Project

  • Parent registration
  • Parent login and logout
  • Parent dashboard with guidance, reports, and campaign activity stats
  • Browse parent-targeted awareness content
  • Read warning signs and prevention tips
  • Submit incident report
  • Add student name, class, and severity details
  • View own submitted reports
  • View report moderation status
  • Edit pending reports
  • Delete pending reports
  • View school awareness campaigns
  • View campaign details
  • Access counselling contacts and helplines
  • Update parent profile
  • Update child information
  • Change password
  • View activity log
  • Track reports, guidance content views, and engagement stats

Educator Features in this Final Year Project

  • Educator login and logout
  • Educator dashboard with training materials, reports, campaigns, and quiz participation stats
  • Browse educator-targeted training materials
  • Read full training articles
  • Submit incident reports
  • Add incident details, severity, and action taken
  • View own reports
  • Edit pending reports
  • Delete pending reports
  • Create awareness campaigns
  • View own campaigns
  • Edit campaign details
  • Update campaign status
  • Delete own campaign
  • View registered student participant list
  • View student quiz participation
  • Open individual quiz attempt details
  • View score breakdown
  • Update educator profile
  • Change password
  • View activity log
  • Track report history, campaign stats, and engagement summary

Law Enforcement Features in this Final Year Project

  • Law enforcement login and logout
  • Law enforcement dashboard with total cases, active cases, closed cases, investigations, hotspot count, and recent activity
  • View forwarded reports
  • Search forwarded cases
  • Filter cases by case status
  • View case details
  • View original report details
  • View evidence
  • Add case status updates
  • Update case status
  • Add investigation remarks
  • Edit own case update
  • Delete own case update
  • Manage hotspot areas
  • Add hotspot area
  • Edit hotspot area
  • Delete hotspot area
  • View hotspot detail
  • Set risk level: Low, Medium, High, Critical
  • Toggle public visibility
  • View public hotspot records
  • View case analytics
  • View status breakdown
  • View incident type analytics
  • View hotspot risk distribution
  • Update law enforcement profile
  • Update department and badge ID
  • Change password

Other Features

Additional capabilities included in the project

  • Five role-based portals in this final year project
  • Student portal
  • Parent portal
  • Educator portal
  • Admin control center
  • Law enforcement command center
  • Self-registration for students and parents
  • Admin-created educator and law enforcement accounts
  • Awareness content library
  • Target audience-based content filtering
  • Interactive quiz system
  • Quiz scoring and retake support
  • Quiz attempt history
  • Awareness campaign management
  • Student campaign registration tracking
  • Anonymous and identified incident reporting
  • Incident report moderation
  • Report forwarding to law enforcement
  • Law enforcement case timeline
  • Hotspot area intelligence
  • Counselling and helpline directory
  • Platform brand settings
  • Analytics dashboards
  • Full CRUD operations
  • Search and filter options
  • Role-based route protection
  • Session-based authentication
  • Hashed password storage
  • SQLite database
  • No external map API dependency
  • Hotspot data displayed in table format

How to Run

Step-by-step setup on your laptop or PC

  • Open project folder:

    
     
    cd "DRUG FREE COMMUNITY"
  • Install dependencies:

    
     
    pip install -r requirements.txt
  • Initialize database and seed sample data:

    
     
    python seed.py
  • Start the development server:

    
     
    python app.py
  • Open project in browser:

    
     
    http://127.0.0.1:5000

Login Credentials

Default demo accounts for testing after setup

Admin Account

  • Username: admin
  • Password: admin123
  • Portal URL: /admin/dashboard

Student Account

  • Username: rahul_sharma
  • Password: password123
  • Portal URL: /student/dashboard

Parent Account

  • Username: parent_sharma
  • Password: password123
  • Portal URL: /parent/dashboard

Educator Account

  • Username: educator_singh
  • Password: password123
  • Portal URL: /educator/dashboard

Law Enforcement Account

  • Username: le_officer
  • Password: password123
  • Portal URL: /law/dashboard

License

Usage terms for academic and personal projects

Related Tags

Search terms and categories for this source code

Drug Free Community Final Year Project with Source Code Source Code Final Year PYTHON Project Ready-to-Run Code With Database File Plagiarism-Free Faculty Approved final year project major project minor project source code project report drug free community drug prevention system anti drug awareness system community safety project school awareness system incident reporting system counselling contact system Flask final year project Python Flask source code SQLite project law enforcement case tracking awareness campaign project