Skip to content

About

Full-stack gamified learning platform built with Python and Flask, featuring topic-based quizzes, immediate feedback, progress tracking, reward systems, competitive leaderboards and social interaction.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlashLearn

Overview

FlashLearn is a full-stack, gamified learning platform designed to help students consolidate their understanding of core computer science concepts through structured quizzes, immediate feedback, progress tracking, reward mechanisms and integrated social features.

The platform combines independent learning with social interaction and gamification to encourage student engagement, motivation and consistent learning habits.

Core Features

  • Structured Learning — Topic-based quizzes covering Python, Algorithms, Artificial Intelligence and Computer Systems.
  • Immediate Feedback — Answer evaluation and explanations to help students identify mistakes and reinforce their understanding.
  • Performance and Progress Tracking — Quiz scores, accuracy, attempt history and topic-level progress visualisation.
  • Gamification — A star-based reward system that allows students to earn rewards through quiz participation and spend them in a virtual sticker shop.
  • Leaderboards — Global and friends-only rankings that encourage friendly competition.
  • Social Features — User search, friend requests, friends lists and private messaging.
  • User Accounts — User registration, authentication and personalised profiles.

Technology Stack

Category Technologies
Programming Languages Python, JavaScript
Backend Flask
Frontend HTML, CSS, JavaScript, Jinja2
Database SQLite, SQLAlchemy ORM
Forms and Validation Flask-WTF
Database Migrations Flask-Migrate
Software Testing pytest
Version Control Git, GitHub
Development Methodology Agile, Scrum

Project Context

FlashLearn was developed collaboratively by a team of five developers, with a focus on delivering a user-centred learning platform that supports student learning, engagement and motivation.

The project followed an Agile software development methodology, incorporating requirements analysis, sprint planning, iterative development, collaborative version control, software testing and stakeholder feedback.

My Contribution

As Project Coordinator and QA Engineer, my responsibilities included:

  • Coordinating development activities and supporting team collaboration.
  • Contributing to requirements analysis, sprint planning and feature prioritisation.
  • Participating in the design and implementation of application functionality.
  • Conducting software testing, identifying defects and supporting their resolution.
  • Supporting quality assurance throughout the development lifecycle.
  • Contributing to collaborative development through Git and GitHub.
  • Helping ensure that implemented features aligned with user needs and project requirements.

Installation and Setup

1. Clone the repository

git clone https://github.com/amonofrei/FlashLearn.git
cd FlashLearn

2. Create a virtual environment

python -m venv .venv

Activate the virtual environment:

Windows (PowerShell):

.venv\Scripts\Activate.ps1

macOS / Linux:

source .venv/bin/activate

3. Install dependencies

python -m pip install -r requirements.txt

4. Run the application

python run.py

5. Access the application

Open the following URL in your browser:

http://localhost:5000

Software Testing

FlashLearn includes a suite of 45 automated tests implemented using pytest, covering:

  • User registration, authentication and session management
  • Quiz functionality, answer submission and feedback
  • User profiles, performance tracking and attempt history
  • Gamification, reward mechanisms and sticker purchases
  • Global and friends-only leaderboards
  • Friend requests and friendship management
  • Private messaging
  • User search API

Running the tests

python -m pytest testing/test.py -v

All 45 automated tests passed successfully in the verified Python 3.13.7 environment.

Project Structure

FlashLearn/
├── app/
│   ├── __init__.py
│   ├── config.py
│   ├── routes.py
│   ├── models.py
│   ├── forms.py
│   ├── quiz.db
│   ├── static/
│   │   ├── style.css
│   │   └── Images/
│   │       └── Stickers/
│   └── templates/
│       ├── index.html
│       ├── topics.html
│       ├── quiz.html
│       ├── result.html
│       ├── register.html
│       ├── login.html
│       ├── profile.html
│       ├── leaderboard.html
│       ├── friends.html
│       ├── messages.html
│       ├── conversation.html
│       ├── shop.html
│       └── check.html
├── migrations/
├── testing/
│   └── test.py
├── requirements.txt
├── run.py
└── README.md

Application Routes

Authentication and User Accounts

Route Description
/ Home page and dashboard
/register User registration
/login User authentication
/logout User logout
/profile User profile and attempt history

Learning and Assessment

Route Description
/topics/<topic_name> List of quizzes for a selected topic
/quiz/<topic_name>/<quiz_id> Individual quiz page
/quiz/<topic_name>/<quiz_id>/submit Quiz answer submission
/result Quiz results and feedback

Gamification

Route Description
/leaderboard Global and friends-only leaderboards
/shop Virtual sticker shop
/purchase/<sticker_id> Sticker purchase

Social Features

Route Description
/friends Friends list and pending friend requests
/send_friend_request Send a friend request
/accept_friend_request/<request_id> Accept a friend request
/reject_friend_request/<request_id> Reject a friend request
/messages Messaging inbox
/messages/<user_id> Individual conversation
/send_message/<user_id> Send a private message
/search_users User search API

About

Full-stack gamified learning platform built with Python and Flask, featuring topic-based quizzes, immediate feedback, progress tracking, reward systems, competitive leaderboards and social interaction.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages