asadnq.dev

Coursegate (now Grumpy Royale)

1/4/2020

flutterfirebasereactive-x

overview

Coursegate was an education app that provide k-12 courses and quizzes. This project pivoted into a coding learning platform named Grumpy Royal.

Key Features

  • 📚 Courses & Quizzes – Explore a variety of courses and interactive quizzes, all within the app.
  • 👤 Multiple Profiles – Create and manage multiple profiles to track individual progress separately.
  • 🌐 Multi-Language Support – Effortlessly switch between languages for a seamless learning experience.

challenges & solutions

I'm working on an existing codebase, the challenges included here are some of my refactorings result.

Inefficient data streaming

The app made abundant connections to firestore streaming, which causes a performance problem and increased bill in Firebase.

Solution: The solution was to cache the streaming connection so they can be reused. This refactoring dropped the number of created connections by 10 times.

Improving code architecture

The codebase was not well-structured, making it difficult to maintain and extend.

Solution: We refactored the codebase by extracting reusable widgets, and adopt a well-defined state management pattern.

outcome

Refactored the codebase Implemented various features such as video player and quizzes.

© 2026 Asadnq. All rights reserved

This site is built with SvelteKit