Attendify — QR-Based Student Attendance System with Flutter and Django
Back to ProjectPython 3.10 or higher and pip must be installed on your machine.
cd attendify_backend
python -m venv venv
On Windows:
venv\Scripts\activate
On macOS or Linux:
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py seed_data
This command creates one teacher account (teacher1 / teacher123), five student accounts (student1 through student5, all with password student123), one department, three subjects, ten lectures spread over the last twenty days, and randomised attendance records.
python manage.py runserver 0.0.0.0:8000
The API is available at http://localhost:8000/api/
Django Admin is available at http://localhost:8000/admin/
Flutter 3.10 or higher. Run flutter --version to check. Android Studio or Xcode is required for emulators.
cd attendify_app
flutter pub get
Download the Poppins font family from Google Fonts and place the following TTF files
inside attendify_app/assets/fonts/:
Also create the images directory:
mkdir -p attendify_app/assets/images
Open lib/constants/api_constants.dart and set the correct base URL:
// Android emulator
static const String baseUrl = 'http://10.0.2.2:8000/api';
// iOS simulator
static const String baseUrl = 'http://127.0.0.1:8000/api';
// Physical device — replace with your machine's local IP
static const String baseUrl = 'http://192.168.x.x:8000/api';
Open android/app/src/main/AndroidManifest.xml and add the following
inside the <manifest> tag:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
flutter run
| Role | Username | Password |
|---|---|---|
| Teacher | teacher1 | teacher123 |
| Student | student1 | student123 |
| Student | student2 | student123 |
| Student | student3 | student123 |
| Student | student4 | student123 |
| Student | student5 | student123 |
Our team is here to assist you with installation and setup.