DEV Community

Discussion on: First step into app developement 🧐

Collapse
 
jay_js profile image
Jayesh Kale • Edited

as you're beginning i suggest you to create schema so your backend logic is more clear about how to access data and how to store it.... you can create separate collection for places and store the images with unique hash on file system so that you can manipulate them easily and store it's name in caption field of collection... while retrieving images refer them by their unique hash... you can also add view count for particular place and use it in future to create home page which shows sorted images by their view count... well for specific user places create list field in user collection and store all objectid of places which user have uploaded

Collapse
 
killianfrappartdev profile image
Killian Frappart

Hello Jayesh!

That are really nice suggestions you bring here, as I said before I was coding along a tutorial for this particular project but I will definitely try to implement your ideas for my future projects.

Thank you for your tips 😁