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:
- define the schema and model in a server-only module,
- connect once during app startup,
- reuse the model from route handlers, server functions, or actions.
The recipes in this section show that pattern in a few common stacks.