Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

About

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

Topics

Resources

License

Releases

No releases published

Packages

No packages published