kalgan

Crates.iokalgan
lib.rskalgan
version0.9.1
sourcesrc
created_at2022-02-20 17:22:35.222193
updated_at2022-02-24 14:55:53.173099
descriptionA web framework for Rust programing language.
homepagehttps://kalgan.eduardocasas.com
repositoryhttps://github.com/eduardocasas/kalgan
max_upload_size
id535843
size105,280
Eduardo Casas (eduardocasas)

documentation

https://kalgan.eduardocasas.com/doc

README

kalgan

A web framework for Rust programing language.

Getting Started

  1. Create your project with cargo:

    cargo new project
    
  2. Add the dependency in Cargo.toml:

    [dependencies]
    kalgan = { version = "0.9.0", features = ["tera"] }
    
  3. Set your main.rs as follows:

    #[macro_use] pub mod macros;
    mod controller;
    
    fn main() {
        kalgan::run("settings.yaml", controller::resolver, None);
    }
    
  4. Run your app:

    my_path="path_to_my_project" cargo run
    
  5. Open your browser and go to http://127.0.0.1:7878

    You will see the following message:

    Hello World! :)

Documentation

For further information please visit:

License

This crate is licensed under either of the following licenses:

Commit count: 5

cargo fmt