Skip to content

Modern web framework for Rust focused on ease of use.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

flareon-rs/flareon

Repository files navigation

Flareon

Rust Build Status crates.io Documentation codecov

Flareon is an easy to use, modern, and fast web framework for Rust. It has been designed to be familiar if you've ever used Django, and easy to learn if you haven't. It's a batteries-included framework built on top of axum.

Features

  • Easy to use API — in many ways modeled after Django, Flareon's API is designed to be easy to use and intuitive. Sensible defaults make it for easy rapid development, while the API is still empowering you when needed. The documentation is a first-class citizen in Flareon, making it easy to find what you're looking for.
  • ORM integration — Flareon comes with its own ORM, allowing you to interact with your database in a way that feels Rusty and intuitive. Rust types are the source of truth, and the ORM takes care of translating them to and from the database, as well as creating the migrations automatically.
  • Type safe — wherever possible, Flareon uses Rust's type system to prevent common mistakes and bugs. Not only views are taking advantage of the Rust's type system, but also the ORM, the admin panel, and even the templates. All that to catch errors as early as possible.
  • Admin panel — Flareon comes with an admin panel out of the box, allowing you to manage your app's data with ease. Adding new models to the admin panel is stupidly simple, making it a great tool not only for rapid development and debugging, but with its customization options, also for production use.
  • Secure by default — security should be opt-out, not opt-in. Flareon takes care of making your web apps secure by default, defending it against common modern web vulnerabilities. You can focus on building your app, not securing it.

Development

Testing

Tests that require using external databases are ignored by default. In order to run them, execute the following in the root of the repository:

docker compose up -d
cargo test --all-features -- --include-ignored

You can them execute the following command to stop the database:

docker compose down

License

Flareon is licensed under either of the following, at your option:

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Flareon by you shall be dual licensed under the MIT License and Apache License, Version 2.0, without any additional terms or conditions.

About

Modern web framework for Rust focused on ease of use.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •