Simple forums application using SNode.C webservers to provide a REST API and consume it in a statically hosted frontend that uses page.js for client-side routing.
- build a real REST API provided by a webserver running SNode.C
- consume that API in the frontend
- setup webserver to use index.html as an entrypoint for all non-existent requested URLs
this is needed so that fresh requests (not triggered by
page.js) to e.g. http://localhost:1337/subtopic/:subtopicId don't fail. see: https://github.com/visionmedia/page.js/#server-configuration
- Users should be able to register using username and password.
- Users should be able to create subtopics.
- Users should be able to create threads in subtopics.
- Users should be able to create posts in threads.