A site devoted to discussing Arda, the mythical world imagined and popularized by J.R.R. Tolkien.
Arda, soon to be a welcoming community for fantasy-lit lovers, is also pretty MEAN. It's an ExpressJS server for both routes and API. On the front end Arda Boards enlists some old school Angular, Bootstrap, and Jade templating magic. It was built mostly on Cloud9's sweet online IDE.
The trek to Mordor didn't happen in a day.
- Connect POST routes to individual topics (singleTopic.pug)
- Create new page to search existing topics (Barad-dur).
- Connect voting API to comments on /rivendell and singleTopic.pug.
- Connect DELETE routes to front end.
- Connect PUT routes to front end.
- Created voting verification system
- ^ Array of trimmed userIDs, binary search to verify.
- Find a better way to update state without reloading.
- Expand user schema and profile to include more information.
- Create routes to user profiles via /:username.
- Current Problem with conditional logic on login. I wonder if this is the source: http://mongoosejs.com/docs/promises.html
Helpful for me, at least.
Because of file size restraints, Mongo needs a little massaging.
mongod --smallfiles (works)
mongod --nojournal (works)
<!--Both together-->
mongod --nojournal --smallfiles
This also fixes a problem involving a bad shutdown --> Mongo Docs.
Great article on [integrating Angular into Pug](https://codepen.io/khilnani/pen/GKcwD https://glebbahmutov.com/blog/angularjs-inside-jade-templates/). Hint, it's just like you'd think!
See their docs
See Khilnani's CodePen See Michael Bromley's old post on the subject