Getting started with Mongoose

This guide shows how to start using Mongoose - an embedded networking library that provides an HTTP server, WebSocket, MQTT, and a TCP/IP stack for microcontrollers and embedded Linux devices.
It works on platforms like STM32, ESP32, NXP, RP2040, and Linux, and can run on bare metal or RTOS systems.

In this guide you will:

  • Set up the build environment
  • Configure Mongoose build options
  • Run your first embedded HTTP server

Learning path

  1. Build environment
    Install the required tools and prepare the development environment.
  2. Build options
    Learn how to configure Mongoose for different platforms and networking stacks.
  3. Mongoose programming model
    Learn how Mongoose programming model works.
  4. Your first web server
    Build and run a minimal embedded HTTP server using Mongoose.

After completing this section, continue with:

  • Networking concepts - learn how the Mongoose event-driven architecture works
  • Guides - build device dashboards, connect to MQTT cloud, and implement OTA updates
  • API reference - explore the full Mongoose API