Skip to content

deeper-x/actix-pg-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust async_pg template repository

Rust

Project template base on

  • tokio_postgres

  • use of tokio_pg_mapper for postgres data mapping

  • deadpool_postgres for connection pooling

  • dotenv + config for configuration

    cargo run

Using a different terminal send an HTTP POST request to the running server:

Send a ping:

echo '{"value": "pong"}' | http -f --json --print h POST http://127.0.0.1:8080/ping/post

Retrieve pings:

http http://127.0.0.1:8080/ping/get

About

rust actix + async pg skeleton project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published