This project used the yeoman stacked generator extensively. https://www.npmjs.org/package/generator-stacked
#Start Project
-
node server.js
-
"E:\PROGRAMS\MongoDB 2.6 Standard\bin\mongod" --dbpath "E:\My Documents"
Once the DB is started, you can user mongo.exe to use command prompt
- show dbs
- use defaultDB
- show collections
- db.users.find()
- db.users.remove({}) // removes all
-
Figure problem with sessions not active before first refresh
-
Make sure API return proper response code
-
add API test for all endpoints
-
add model validation for all properties
-
since the blog title is unique, we can put it in the url. Similar to users path.
-
pagination of comments,blogposts and trivias
-
abstract triviaView and blogpostView Comment code (renderComment, submitComment, etc) into a common structure.
-
abstract edition views into a similar structure.
-
make sure the image is properly sized when logging in with a social media website (e.g. G+ displays the images too large)
-
Features Backlog -- Add score-keeping. Base score on number of accepted comments. -- Editing, deleting trivia entries for people who published them.
- Add utils to the app so it's globally available