Skip to content

Instantly share code, notes, and snippets.

@Keith-Hon
Last active October 5, 2017 11:10
Show Gist options
  • Save Keith-Hon/6241077910432f3b2384f4d419c7e98d to your computer and use it in GitHub Desktop.
Save Keith-Hon/6241077910432f3b2384f4d419c7e98d to your computer and use it in GitHub Desktop.
[ionic-firebase-forum-template-spec]
# ionic-firebase-forum-template-spec
## Functional Spec
Since it is a prototype, it would be good enough to show
1. basic functions on threads
1.1 comment
1.2 edit previous post
1.3 upvote, downvote
1.4 qouting other's comment
2. category of threads
2.1 threads can be put into category and user can view any of them
3. authetication
3.1 anyone can view all the threads' content
3.2 anyone can make a post after login
3.3 use firebase authetication to handle the login part
4. Remarks:
4.1 there are no limit on the number of comments a thread can have
4.2 only author can edit its posts
4.3 user can sign up and login with email and password by firebase authentication
5. Optimization:
5.1 only load 20 post/ comments for the home page and thread page, and do paginated request to firebase to get more data to dynamically update the ui with more data.
6. self-contained and reproducible
6.1 the module itself is self-contained, which means it should be embedable to other ionic project with minimum effort.
6.2 a script for firebase setup should be provided in order to create another forum with ease.
## UI
Please refer to the below pdf:
https://s3-ap-northeast-1.amazonaws.com/solusworks-dev/ui-design/ionic-firebase-forum-template-spec.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment