> For the complete documentation index, see [llms.txt](https://docs.angel-dart.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angel-dart.dev/1.x/services/in-memory.md).

# In-Memory

* [In-Memory Services](/1.x/services/in-memory.md#in-memory-services)
* [Next Up...](/1.x/services/in-memory.md#next-up)

## In-Memory Services

The simplest data store to set up is an in-memory one, as it does not require external database setup. It only stores Maps, but it can be wrapped in a [`TypedService`](/1.x/services/typedservice.md).

```dart
// routes.dart
app.use('/todos', new TypedService<Todo>(new MapService()));

// todo.dart
class Todo extends Model {
  String title;
  bool completed;

  Todo({String id, this.title, this.completed : false}) {
    this.id = id;
  }
}
```

## Next Up...

Learn how to implement your own [custom services](/1.x/services/custom-services.md).
