Mongster

Recipes

Mongster can be used with most typescript backend frameworks

Mongster does not need a special framework adapter. The pattern is usually the same everywhere:

  1. define the schema and model in a server-only module,
  2. connect once during app startup,
  3. reuse the model from route handlers, server functions, or actions.

The recipes in this section show that pattern in a few common stacks.