fixed toml and readme started

This commit is contained in:
LinlyBoi
2022-12-23 11:55:42 +02:00
parent 8a23815bd1
commit ee4fbf9a75
2 changed files with 21 additions and 1 deletions

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# Project structure
The project structure is divided into 3 thingies
## Frontend
- Utilises YEW
- Builds component with HTML macro
- Fetches values from API via requests see [https://yew.rs/docs/0.18.0/concepts/services/fetch#dispatching-requests](Yew requests)
- Don't need anythign fancy yet
## Backend
Ohoihohohoho t he fun begins here
- Covering get requests for now to fetch data
- the path is read from the macro atop the functions
- the function takes variables that are in {} in the path
- must pass the vars into their smaller first not directly web::Path<Type> or whatever
- Template function for ticket extraction exists
- [ ] Make retrieval functions for all data types (Refer to models.rs for those and their parameters)
### Models.rs
the good file where the structs that interact with the database occurred