Commit Graph

6 Commits (8e8798f5098e6ba6abf63144ebb3eda14555e0ea)

Author SHA1 Message Date
Joey Hines 8e8798f509
First pass on shop/item handling
+ The `add_item` command adds items to a location of type `Shop`
+ `selling` allows items to be queried
  + Items are not sorted yet
  + The user will be able to apply optional sorting params
+ Allowed the `insert` function of the DB to be used to update a model already in the DB
+ Clippy + Fmt
2021-11-07 14:23:18 -07:00
Joey Hines b92308da67
First pass of an API
+ Implemented register, find, and add_location
+ Bunch of changes to the DB and the Models to make this work
+ API models are defined in GeoffreyModels so things that call the API don't need to define their own types
+ Still needs a lot of work, and need to design the api a bit more
+ Clippy + fmt
2021-10-03 14:03:32 -06:00
Joey Hines 9d104db0d6
Refactor ahead of API addition
+ This commit started as an experiment in a GraphQL api. It didn't turn out well...
2021-05-08 15:42:47 -05:00
Joey Hines 2bf1b8ab1c
Changed how Locations are handled
+ Each location type is now a struct containing LocationData and location specific data.
+ Each type has its own place its own tree
+ Both were done in order to allow clear deserialization
2021-03-13 14:42:37 -06:00
Joey Hines 0bcb28bc47
Initial database implementation
+ Using sled as a database
+ Added functions for inserting and fetching models from the database
2021-03-10 18:31:50 -06:00
Joey Hines a3f25f214c
Initial commit
+ Basic models
+ Project Layout
+ ARCHITECTURE.md and README.md
2021-03-06 13:19:13 -06:00