Skip to content

A server, site, and API devoted to discussing the work and mythology of J.R.R Tolkien.

Notifications You must be signed in to change notification settings

brother-donkey/Arda-Boards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arda Boards


A site devoted to discussing Arda, the mythical world imagined and popularized by J.R.R. Tolkien.

Specs

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.

Roadmap

The trek to Mordor didn't happen in a day.

General Todos

  • 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.

Possible bugs:

Helpful links:

Helpful for me, at least.

Setup on Cloud9

Notes:

running mongod on c9:

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.

Angular and Pug

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!

Mongoose Schema Type

See their docs

Pagination with Angular1j

See Khilnani's CodePen See Michael Bromley's old post on the subject

About

A server, site, and API devoted to discussing the work and mythology of J.R.R Tolkien.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published