Skip to content
dziennik noun [ masculine ] /ʥɛɲɲik/: class register | Rust rewrite of the cult classic dziennik php
Rust PLpgSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
migrations
src
.env.example
.gitignore
Aptfile
Cargo.lock
Cargo.toml
LICENSE
Procfile
Procfile.windows
README.md
RustConfig
app.json
diesel.toml
rust-toolchain

README.md

dziennik-rust Deploy

A simple CRUD REST API backend application using Rust with actix-web, Diesel and PostgreSQL.

Develop

Auto reload:

$ cargo run-script dev

Entry points (CRUD)

Postman Collection: docs/dziennik_rust.postman_collection.json

// Content-Type: application/json; charset=UTF-8

  • /api/
    • login

      • POST (login, password):
        • credentials for login
    • students

      • GET:
        • get all students
        • array of Student object
      • POST body: (first_name, last_name):
        • check if student exists
        • add student
        • return new_student
      • /{id}
        • DELETE:
          • delete student
        • PUT body:(new_student):
          • edit existing student

Notes:

You can’t perform that action at this time.