#back-end #connection #db #postgresql #pet #change #instaclone

nightly bin+lib instaclone_backend

Pet project: backend for instaclone

1 unstable release

Uses old Rust 2015

0.1.0 Feb 26, 2018

#8 in #pet

Unlicense

9KB
162 lines

Instaclone Backend

Installation

  1. Open rustup.rs and follow instructions
  2. Install Rust 1.24
  3. Install PostgreSQL ^9.6.5
  4. Create db instaclone: CREATE DATABASE instaclone; or change connection in .env
  5. Install diesel.rs: cargo install diesel_cli
  6. Migrate database: diesel migration run
  7. Review Rocket.toml
  8. Start app: cargo run

Dependencies

~19–30MB
~566K SLoC