Open mohammed786 opened 3 years ago
Hey, this issue seems interesting, can we use an ORM like mongoose instead of writing a custom generic adapter? I feel it would make it easier to perform CRUD operations anywhere throughout the project.
@DarthBenro008 Yes you can use mongoose
One more thing, If you Contribute to LoginRadius Open Source. As part of hacktoberfest, LoginRadius is also giving free swags and goodies to its contributors. Please check out our Hacktoberfest Page and fill the form mentioned there to become eligible for free swags. :)
Awesome ! I would love to work on this issue!
@DarthBenro008 Assigned the issue to you.
@puneetsingh24 @mohammed786 I realised that there is no express or node setup for the mongo adapter to be used/moongose, should i create a folder named server where the models and the server code go?
Yeah go ahead, @DarthBenro008 .
Currently, all the data is fetched from the constant static files located locally, need to create a data adapter in MongoDB that can read and write data from the database.
You can use the same schema which we are using in the
src/constants/
.Feel free to ask any questions.