Skip to main content

What is Mais Hábito?

Mais Hábito is a gamified habit-tracking backend REST API that helps users build better routines through a points and streaks reward system. As a single-player application, it lets users organize their daily routine by completing tasks and challenges — earning points and XP along the way, and maintaining streaks to track consistency over time. The API is built for developers who want a fully-featured backend for productivity or habit-tracking applications, with authentication, user profiles, challenge management, and task completion already handled.

Tech stack

Resource groups

The API exposes six resource groups under the base URL http://localhost:3000/api:

Architecture

The project follows a Controller → Service → Repository layered pattern:
This separation means database internals are hidden behind repositories, business rules are tested independently in services, and controllers stay thin and focused on HTTP concerns.

Get started

Quickstart

Get the API running locally in under 5 minutes.

Authentication

Learn how JWT authentication works and how to call protected endpoints.