Skip to content

dziennik noun [ masculine ] /ʥɛɲɲik/: class register | Rust rewrite of the cult classic dziennik php web server

License

Notifications You must be signed in to change notification settings

JakubKoralewski/dziennik-rust

Repository files navigation

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)

// 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:

About

dziennik noun [ masculine ] /ʥɛɲɲik/: class register | Rust rewrite of the cult classic dziennik php web server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages