- Express
- Bcrypt
- EJS
- Mongoose
- Passport
Originally, tried to use subdocuments with Mongoose. I found out that subdocuments are not recommended for performance reasons and thus documentation is severely lacking.
To run this yourself, git clone and add your own mongo connection string in 'app.js'.
The challenge was to build an exclusive clubhouse where your members can write anonymous posts. Inside the clubhouse, members can see who the author of a post is, but outside they can only see the story and wonder who wrote it.
- Styling
- Confirm Password field
- Tests
- Error handling
- File Structure i.e. Models & Routes folders
- Problems with the checkbox implementation
- Delete route not protected
-
Stack Overflow - Mongoose subdocuments
-
Stack Overflow - Mongoose validation
-
Stack Overflow - updated user in session
-
Stack Overflow - passport update user
-
Stack Overflow - find()
-
Stack Overflow - find()
-
Stack Overflow - find() no results
-
Stack Overflow - Hyphen named collection problems
-
Stack Overflow - variables ejs
-
Stack Overflow - loop ejs
-
Stack Overflow - ejs nested object
-
Stack Overflow - remove documents
-
Stack Overflow - nested object delete
-
Mongo - delete subdocument
-
Make School - deleting
-
Stack Overflow - delete a subdoc
-
Stack Overflow - delete a subdoc
-
Stack Overflow - save() issues
-
Stack Overflow - how mongoose save() works
-
Stack Overflow - findmany
-
Stack Overflow - modify mongoose query
-
Stack Overflow - remove subdoc
-
Blog - Mongoose subdocuments
-
Github - Mongoose Schemas
-
Github - FindByIdAndDelete()