Skip to content
‹ All case studies
Mobile (Android) + API

Hypheny

An Android messaging app in Kotlin, with its own Flask and MongoDB API: accounts, friend requests and conversations.

Year
2024 · school project, finished
Stack
Kotlin · Android · Flask · MongoDB · JWT
Hypheny: a chat between Amina and Bob

The problem

Built as a pair at Holberton School as our end-of-year project: a full messaging product, from the database to the Android screens.

My role

I built the Android app and worked on the API with my teammate, Leila (@leila7575 on GitHub).

Key decisions

  1. Token login

    The API issues a JWT at login; every private route requires it, and the app keeps the token in its session storage. Passwords are stored hashed, never in plain text.

  2. Layered API

    Routes call controllers, controllers call services, services use the database models, so each route stays short and the database logic lives in one place.

Screens

  • The login screen, with Amina's username and a hidden password

    Login

  • Amina's conversations with Bob and Chris, each with its last message

    Conversations

  • A chat between Amina and Bob about meeting at the library to study

    A chat

  • The friends list, Bob and Chris, each with a button to start a chat

    Friends

Results

A working messaging app end to end: sign-up and login, profile editing, user search, friend requests, and private conversations, served by about 20 API routes.

What I learned

  • Hypheny had almost no automated tests, and bugs between the app and the API cost us days. That's why every project since has started with tests and CI.