Working without a database? #120
-
Hey @Saifullah-dev, thanks a lot for making this beautiful code open-source! It looks gorgeous! May I ask you if the backend could also work without the mongodb database? I could write my own backend I'm assuming, but maybe you have a switch in the softare already! Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hi @beniroquai , thank you so much for your kind words. I'm glad you're finding this project useful 🙌 Yes, you may use any Database and backend language combination for it, you just need to follow the file structure as shown in the Readme.md. I'm also planning on adding relational DB like postgreSQL implementation. |
Beta Was this translation helpful? Give feedback.
-
Everything looks fine except for the path structure. I haven't worked with the python unfortunately but this is how your path format should be: [
{
"name": "New Folder",
"isDirectory": true,
"path": "New Folder", // Should be "/New Folder"
"size": null
},
] |
Beta Was this translation helpful? Give feedback.
@beniroquai that's great! :)
--
You don't have any
id
for the file/folder objects, how are you managing file operations like copy, move etc. without it?I can see that having an
id
in theFile
object isn't mentioned in theReadme.md
, which can be confusing (Will update it).Actually, you can have any number of other properties a…