Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

84
Views
Requesting guidance on user profiles and personal MongoDB collections
I am working with Node/express/javascript/mongoDB.

   My application is one where users log in, POST key/value pairs to a REST api, and the saved data is to be shared with other users of their choice.
    As of now I have the server & front end communicating so users can POST data to a local mongodb. My next step is new users/logins, which I will approach with Passport and a local strategy.
Where I need guidance:
    Let's say I have 20 users logged in, they all add their own list of items to the db in varying quantities, 10 entries give or take. HOW do I enable their document collections to stay private to their user profile in the overall database AND then be shared with select people to view as in a private group? (is namespacing involved here, or just dynamic page routing?)
    I would appreciate advice on if I am proceeding in the right direction and some opinions of popular approach to this kind of thing.
In a nutshell: user logs in, makes a list of things (saved to mongodb), user invites X amount of friends to view their list. User can multiple lists for different occasions as needed.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!