Skip to content
sonyariantoPublic

About

Template/sample/skeleton/boilerplate web framework implemented in Rust (Actix Web)

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

37 Commits

Folders and files

Repository files navigation

Karatan

Karatan is a template/sample/skeleton/boilerplate web framework implemented in Rust using Actix Web. Initially to makes my life easy. It contains simple sample to start your own backend system. Is it performant? I am not sure since I am still learning Rust as well.

Requirements

  • Rust

How to run?

Available sample routes

  • (GET) / => Return string "Hello, World!"
  • (GET) /about => Return string "This is about page"
  • (POST) /upload => Imaginary path for POST end-point, still unimplemented
  • (GET) /json => Return JSON data from static string
  • (GET) /{name}/age/{age} => Return string with name and age from the URL
  • (GET) /external/api/1 => Return JSON data from external API (https://jsonplaceholder.typicode.com/todos)
  • (GET) /external/api/2 => Return JSON data from external hidden API with a bearer token

Learn the code

  • The entry point file is on src/main.rs, for now that's single file and all logic is all there, no include files for easy to learn.

License

MIT

Copyright © 2024 Sony Arianto Kurniawan <[email protected]> and contributors.

About

Template/sample/skeleton/boilerplate web framework implemented in Rust (Actix Web)

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages