Skip to content

Getting started ​

Mangobase is fundamentally designed to be easy to use while providing a cohesion of developer experience; that said, it's easy to get started.

INFO

We currently provide a database adapter for Mongo only, so you may need to install Mongo to be able to use Mango. You can however implement a custom database adapter for any database of choice. See database adapters

Starting a new project ​

You can use the command below to bootstrap a project

sh
$ npm create mango@latest
$ npm create mango@latest
sh
$ yarn create mango
$ yarn create mango

Adding to an existing project ​

You can add Mango to any existing project. At the moment, @mangobase/express and @mangobase/bun are the officially supported server adapters. You can add Mango to your project in a few easy steps if you're using any of those frameworks.

Otherwise, you can implement a custom adapter for your project. See implement a custom server adapter

TIP

Reference the examples on how to set up your project.