The codebase is very spaghetti and needs to be less spaghetti. Things to apply to every function:
sqlxneeds to be moved into a db interactions only crate, and make use of transactions betterProcfileparsing needs to be moved into its own crate- create a migration pattern for HCL
- Error types need to be added
- Large format strings need to be moved into their own files and include_str'd
- Types making use of serde_json::Value should make use of newtypes instead
The codebase is very spaghetti and needs to be less spaghetti. Things to apply to every function:
- [ ] `sqlx` needs to be moved into a db interactions only crate, and make use of transactions better
- [ ] `Procfile` parsing needs to be moved into its own crate
- [x] create a migration pattern for HCL
- [ ] Error types need to be added
- [ ] Large format strings need to be moved into their own files and include_str'd
- [ ] Types making use of serde_json::Value should make use of newtypes instead