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

Code refactor on app.js and mongoose bug fix #20

Open
ghost opened this issue Oct 25, 2020 · 0 comments
Open

Code refactor on app.js and mongoose bug fix #20

ghost opened this issue Oct 25, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 25, 2020

1.Can we go with .then().catch() promises rather than the function(error , post) callback. It makes the code more readable and neat.
2.I see mongoose missing in the package.json file in the server. I would like to fix that.

Waiting for your approval before continuing. Thanks 👍.

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

0 participants