Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to save all data in mongodb database #14

Open
mithlesh20apr opened this issue Nov 4, 2018 · 2 comments
Open

I want to save all data in mongodb database #14

mithlesh20apr opened this issue Nov 4, 2018 · 2 comments

Comments

@mithlesh20apr
Copy link

Please help I want to save all the data in mongodb database. How to implement to the data store in mongodb. Please help for this issue.

@goldleon
Copy link

goldleon commented Dec 4, 2018

Actually you need to use mongodb library or mongoose

@maurobonfietti
Copy link

Hi! I share a very simple example of an API to manage users in Node.js and save them in MongoDB (using mongoose). I hope it's useful...

https://github.com/maurobonfietti/nodejs-api

https://github.com/maurobonfietti/nodejs-api/blob/master/services/userServices.js#L42

Best regards,
Mauro.-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants