Rust server test repo
Go to file
Sebastian H. Gabrielli c61692cc32 Fix issue where member last name became RFID card
When applying the JSON override fields the RFID card info was assigned
to the lastName field. this has been fixed.
2023-12-26 21:02:06 +01:00
.vscode Split project into separate files 2023-12-25 15:40:00 +01:00
src Fix issue where member last name became RFID card 2023-12-26 21:02:06 +01:00
.gitignore Initial commit 2023-12-23 12:00:10 +01:00
Cargo.lock Handle CORS 2023-12-26 21:01:36 +01:00
Cargo.toml Handle CORS 2023-12-26 21:01:36 +01:00
README.md Add DB to readme file info 2023-12-25 15:49:43 +01:00
test.db Implemented all RFID card functionality 2023-12-25 17:58:43 +01:00

Rocket server test

This is a test of a webserver honoring the sample OmegaV V2 members API.

File structure

├── Cargo.toml ................... Dependencies
├── README.md  ................... This file :D
├── src .......................... Source files
│   ├── database.rs .............. Database connection
│   ├── main.rs .................. Running the webserver and attaching the endpoints
│   ├── models ................... Define the structs, both custom ones and DB ones
│   │   ├── entities ............. DB Structs, generated by SeaORM
│   │   │   ├── members.rs
│   │   │   ├── mod.rs
│   │   │   ├── prelude.rs
│   │   │   └── rfid_cards.rs
│   │   ├── member.rs ............ My custom structs relating to member functionality
│   │   └── mod.rs ............... Allow for importing using the `mod` keyword
│   └── webserver_member.rs ...... The webserver functions relating to the member functionality
└── test.db ...................... The SQLite3 database used