Skip to content

Simple blog api written on Rust using Actix, Diesel, Postgres

License

Notifications You must be signed in to change notification settings

vendelieu/blog-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vendeli.eu-blog backend

Backend Api of my personal blog using rust + actix

Instruction

  1. Create a database

  2. Rename .env.sample to .env and update properties (at least DATABASE_URL).

  3. install libpq lib for postgres

sudo apt-get install libpq-dev
  1. install diesel-cli through cargo install
cargo install diesel_cli --no-default-features --features postgres
  1. run migrations:
diesel migration run
  1. build with release profile:
cargo build --release
  1. and run binary from console:
target/release/vendelieu-blog 

About

Simple blog api written on Rust using Actix, Diesel, Postgres

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages