• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Codemotion Magazine

We code the future. Together

  • Discover
    • Events
    • Community
    • Partners
    • Become a partner
    • Hackathons
  • Magazine
    • Backend
    • Frontend
    • AI/ML
    • DevOps
    • Dev Life
    • Soft Skills
    • Infographics
  • Talent
    • Discover Talent
    • Jobs
    • Manifesto
  • Companies
  • For Business
    • EN
    • IT
    • ES
  • Sign in
ads

CodemotionAugust 7, 2024 3 min read

Gazelle: A Flexible Framework for Building Custom and Scalable Backends in Dart

Languages and frameworks
gazelle logo, a new framework for flutter and dart.
facebooktwitterlinkedinreddit

What is Gazelle?

Gazelle aims to be the easiest and most accessible way to create backends in Dart. It is positioned as a simple and flexible framework with a very low learning curve to facilitate entry for less experienced developers. At the same time, thanks to its plug-in architecture, Gazelle offers developers and more experienced teams great possibilities for customizing their backend.

Instruction Manual

To install Gazelle in your Dart project, add it as a dependency in your pubspec.yaml file with the following command:

Recommended article
February 6, 2025

Top Programming Languages in 2025

Lucilla Tomassi

Lucilla Tomassi

Languages and frameworks
shCopy code<code>dart pub add gazelle_core
</code>Code language: HTML, XML (xml)

Usage

Once Gazelle is installed, you can create a simple HTTP server with just a few lines of code. Here’s an example:

dartCopy code<code>import 'package:gazelle_core/gazelle_core.dart';

void main() async {
  final app = GazelleApp(
    routes: [
      GazelleRoute(
        name: "hello_gazelle",
        get: (context, request, response) => GazelleResponse(
          statusCode: GazelleHttpStatusCode.success.ok_200,
          body: "Hello, Gazelle!",
        ),
      ),
    ],
  );

  await app.start();
  print("Gazelle listening at ${app.serverAddress}");
}
</code>Code language: JavaScript (javascript)

In this example, we create a new instance of a GazelleApp, define a route for the path /hello_gazelle, and specify a request handler that returns a simple “Hello, Gazelle!” response. Finally, we start the server using the start() method.

The Development Experience with Gazelle

Gazelle aims to be extremely easy to use and extensible, enabling Flutter developers to build their backend with Dart, making them full stack developers. Several features contribute to this mission:

  1. An intuitive CLI tool to scaffold and manage every Gazelle project.
  2. Built-in serialization.
  3. Plugin system.
  4. Flutter client generation (coming soon).

Gazelle: Vision

Gazelle’s vision is driven by the goal of unlocking the imagination of developers by offering them immense building power with utmost simplicity. The framework aims to provide an all-in-one space with an ecosystem of plugins, similar to Notion’s vision of a single shared workspace. Instead of Notion templates, there will be dozens of plugins built by the community and the Gazelle team. Need a database? Get a ready-to-use plugin. Need a storage or authentication service? Find or create the plugins best suited for your needs and include them in your project.

A chat with the team behind Gazelle

Which Challenges Did You Want to Overcome with Gazelle?

Gazelle aims to help Flutter developers create backend solutions written in Dart for their applications, enabling them to be full stack developers.

What’s Gazelle Best For?

Gazelle is best for writing maintainable full stack Flutter applications, thanks to a streamlined developer experience and a CLI that guides developers to follow best practices in backend development.

Describe the Team Behind Gazelle

Gazelle’s team consists of five founders with distinct skills and areas of expertise. Filippo Menchini and Elia Tuccori handle the ideation and development of the product and the marketing/business aspects, respectively. The other three founders—Manuel Vellutini, Marco Pierallini, and Nicola Pierallini—are experienced entrepreneurs in the software world with a significant exit behind them. They continuously support Elia and Filippo in strategic development, financial management, and customer research. As an open-source project, the developer community and the creative input of contributors play a crucial role in the continuous improvement of the framework.

Related Posts

perché esplorare nuovi framework potrebbe far fallire il tuo progetto

Adopting New Frameworks Could Jeopardize Your Project

Matteo Baccan
September 2, 2024
frameworks

Unpopular Opinion: Framed by the Framework

Arnaldo Morena
June 4, 2024
nuxt.js guide with code examples

In-Depth Guide to Nuxt.js with Code Examples

Codemotion
May 30, 2024
Angular v18 fallback

Angular fallback content in ng-content

Davide Passafaro
May 13, 2024
Share on:facebooktwitterlinkedinreddit

Tagged as:Flutter gazelle

Codemotion
Articles wirtten by the Codemotion staff. Tech news, inspiration, latest treends in software development and more.
Summer Breeze Makes me Read Fine: 10 Tech Books for Your Vacations
Previous Post
The “Hardcore” Attitude of Programmers
Next Post

Footer

Discover

  • Events
  • Community
  • Partners
  • Become a partner
  • Hackathons

Magazine

  • Tech articles

Talent

  • Discover talent
  • Jobs

Companies

  • Discover companies

For Business

  • Codemotion for companies

About

  • About us
  • Become a contributor
  • Work with us
  • Contact us

Follow Us

© Copyright Codemotion srl Via Marsala, 29/H, 00185 Roma P.IVA 12392791005 | Privacy policy | Terms and conditions