actix-admin/docs/index.md

22 lines
910 B
Markdown
Raw Normal View History

2022-10-24 19:15:52 +02:00
---
2022-10-24 20:09:59 +02:00
layout: default
2022-10-24 19:15:52 +02:00
list_title: ' '
---
The actix-admin crate aims at creating a web admin interface similar to other admin interfaces (such as [flask-admin](https://github.com/flask-admin/flask-admin) in python).
## Features
2022-11-08 17:10:27 +01:00
1. Async: Builds on [sea-orm](https://crates.io/crates/sea-orm) as the database backend
2. Macros generate the required implementations for models
2022-10-24 19:15:52 +02:00
3. Authentication: optionally pass authentication handler to implement authentication for views
4. Supports custom validation rules
5. Searchable attributes can be specified
2022-11-08 17:10:27 +01:00
6. Supports custom views, handlers and groups in the Navbar
2022-10-24 19:15:52 +02:00
2022-10-24 20:09:59 +02:00
## Example
2022-11-08 17:10:27 +01:00
Check the [examples](https://github.com/mgugger/actix-admin/tree/main/examples) and run with ```cargo run```. The admin interface is accessible under ```localhost:5000/admin/```.
2022-10-24 20:09:59 +02:00
2022-10-24 19:15:52 +02:00
## Screenshot
<img src="https://raw.githubusercontent.com/mgugger/actix-admin/main/static/Screenshot.png"/>