❔ Were is the data stored at in this project?
i had a friend do the data side of things but now i need to acces the data can someone help sorry for the zip file it was better to compress it .
https://drive.google.com/file/d/1LRdsGUJtICae_sFeoH21UXatdBrbxnJl/view?usp=sharing
Google Docs
BikeSparesInventorySystem-1.0.1-Test.7z
27 Replies
Not gonna download a random zip file, sorry
Upload it to Github or something
ok got it thanks
@ZZZZZZZZZZZZZZZZZZZZZZZZZ i just includded the data side of things:
https://github.com/Dumnersm580/Rest-inventory-
GitHub
GitHub - Dumnersm580/Rest-inventory-
Contribute to Dumnersm580/Rest-inventory- development by creating an account on GitHub.
Seems the data is stored in a file
Either a Json file, an Excel file, or a CSV file
that for exportting the data from what i can tell it has something to do with the repository
It's an overengineered bloated mess in general
But a service calls a repository, a repository calls a provider, the provider reads/writes data
you can find out what provider is being used in the entrypoint where you register services
were would i find it?
sorry kind new to this
in the entrypoint of your application
find where the services are registered
?
Means the Json file provider is used
So everything is saved in a Json file
Is there anyway to tell were the file is saved to?
The provider has a
path
parameter passed to most of it's methods
So track down where they're called from and what gets passed thereclue: check the utils directory
Thanks
Holy shit I have gone through everything but that damn dir thanks guys
Sorry for the idiot experience
no i feel even dumber all the exploser.cs does is all you to export the data as a type of file
Explorer is used by the JsonFileProvider to get the DefaultPath
if no path is handed in, then that path is used
this is all that is in that csv file no userdata or anything
check the default path location
in your case, appdata
what would the data file look like?
It would have a
.json
extension
And would be in Json format
And it would store data similar to your models
So if you have a model
you can expect to see
somewhere in the Json fileany name for the json or would it be random
It would be named the way it's named in the code
thanks i found them
ughhhhhh i really do appreciate it guys
i am going to rewrite the data side to store it to the cloud
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.