Skip to content

simon-void/actix-postgres-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

actix-postgres-crud

initial setup

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • install docker and docker-compose
sudo apt install docker
sudo apt install docker-compose

steps to compile/run program natively (without docker)

  • compile and run program
cargo build --release
./target/release/actix-postgres-crud

steps to deploy in docker

  • build the program, than the docker image, than start it
cargo build --release
sudo docker-compose build
sudo docker-compose up

About

WIP: building a Rust crud server with actix connected to Postgres within a Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published