https://github.com/realaravinth/libadmin
framework, database and database driver agnostic authentication and admin dashboard for rust applications
https://github.com/realaravinth/libadmin
actix-web admin-dashboard authentication postgresql rust sqlite sqlx
Last synced: 2 months ago
JSON representation
framework, database and database driver agnostic authentication and admin dashboard for rust applications
- Host: GitHub
- URL: https://github.com/realaravinth/libadmin
- Owner: realaravinth
- Created: 2021-10-17T08:57:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T07:27:44.000Z (over 3 years ago)
- Last Synced: 2025-04-13T16:16:02.816Z (2 months ago)
- Topics: actix-web, admin-dashboard, authentication, postgresql, rust, sqlite, sqlx
- Language: Rust
- Homepage: https://realaravinth.github.io/libadmin/libadmin
- Size: 3.58 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
libadmin
[](https://realaravinth.github.io/libadmin/)
[](https://github.com/realaravinth/libadmin/actions/workflows/linux.yml)
[](https://codecov.io/gh/realaravinth/libadmin)[](https://deps.rs/repo/github/realaravinth/libadmin)
Access control, admin panel and access control for web
servers written in Rust
The goal is to create something similar to Django admin/PHP MyAdmin,
complete with access control mechanism and web forms.## Code Organisation
### Core
| crate | documentation | description |
| -------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| [`libadmin`](./src/) | [](https://realaravinth.github.io/libadmin/libadmin/) | Framework and database(via `db-core`) agnostic validation and authentication logic Used to implement support for a new web framework |### Database
| crate | documentation | description |
| ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [`db-core`](./database/db-core) | [](https://realaravinth.github.io/libadmin/db_core/) | Collection of traits describing all `libadmin` database operations. Used to implement support for a new database |
| [`db-sqlx-postgres`](./database/db-sqlx-postgres) | [](https://realaravinth.github.io/libadmin/db_sqlx_postgres/) | Database support for postgres using [`sqlx`](https://crates.io/crates/sqlx) |
| [`db-sqlx-sqlite`](./database/db-sqlx-sqlite) | [](https://realaravinth.github.io/libadmin/db_sqlx_sqlite/) | Database support for sqlite using [`sqlx`](https://crates.io/crates/sqlx) |### Web frameworks
| crate | documentation | description |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------ |
| [`libadmin-actix-web`](./framework/actix-web/) | [](./framework/actix-web/) | `libadmin` implemented for actix-web |## Support for database `foo` and framework `bar`
I've tried to be very general with the implementation and I've provided
mechanisms to hook unsupported databases and web frameworks. For now, I plan
on implementing support for only for the libraries that I'm familiar
with.However, if you decide to implement support for something, feel
free to contact me. I'd be happy to help and I'll link your work on
here :)