You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here put result.GoodreadsResponse.search[0] in variable
For root router paths, you can omit the path param. Instead of: .get('', (req,res,next) => {
use: .get((req,res,next) => {
For Seriesget all, seems like you migh not have needed all the installment data. If it is needed, you still have duplication with the get by id, perhaps it should have been a model method populateInstallments?
Looks like two ways to add a user, signup and users. Also, looks like I could modify password inadvertently using the users routes. Don't expose all data unless there's a need.
The text was updated successfully, but these errors were encountered:
(Feel free to close this issue, I just wanted to use markdown :)
Great project, really nice job managing things on the backend. Promise chains, models, routes, project org all really quite good.
Here are notes for suggestions I took while review the code:
.env
files into github. You might want to revoke/change they KEY if it might be bad for someone to get ahold of it.a[i]
into variable.result.GoodreadsResponse.search[0]
in variable.get('', (req,res,next) => {
use:
.get((req,res,next) => {
Series
get
all, seems like you migh not have needed all the installment data. If it is needed, you still have duplication with theget
by id, perhaps it should have been a model methodpopulateInstallments
?signup
andusers
. Also, looks like I could modify password inadvertently using theusers
routes. Don't expose all data unless there's a need.The text was updated successfully, but these errors were encountered: