Skip to content

bgbahoue/hes-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hes-backend

WIP backend based on Rocket

As per current configuration (see Rocket.toml file) it creates a server on localhost:9876

Launch

cargo run

Available routes

  • GET @ /test/back/hello > returns a ResponseJSON which data is a {message: "Hello world"} JSON
  • POST @ /test/back/echo @ CT: Form or JSON > accepts a 'echo' String input and returns a ResponseJSON which data is a { message: "Hello world", echo: "I received from you > [your string]"} JSON

About

Generic Rust RESTFul backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages