Hi there I want to build kind of a
Hi there, I want to build kind of a business middleware that will help me handle some administrative tasks.
Basically I want to aggregate products from all our vendors into one single application. Our vendors upload a csv to a ftp server, every morning at around 4am a new file gets uploaded.
Now what should I do? is there a way to serve the csv directly? Without the need to store that into a database? We only read from those csv files. The data will be converted and put into another system via rest on demand (to fill quotes and orders)
I hope you understand my question (not a native speaker) 🙂
5 Replies
Hi @Batu. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
fair-rose•15mo ago
Hello @.krm42 if you expose this data from any API, you can build a data provider for refine app and it will do the work.
https://refine.dev/docs/tutorial/understanding-dataprovider/create-dataprovider/
3. Create a data provider from scratch | refine
Introduction
Sorry @Batu, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
ratty-blush•15mo ago
Is there something like the csv tool from retool?
fair-rose•15mo ago
Hello @.krm42, you can check here https://refine.dev/docs/advanced-tutorials/import-export/csv-import/
CSV Import | refine
You can easily import CSV files for any resource by using refine's customizable useImport hook, optionally with
component. useImport hook returns the necessary props for
component.