loading...

re: Project 0: Understanding how a full-stack app works 🧐 VIEW POST

FULL DISCUSSION
 

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

 

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 😁

Code of Conduct Report abuse