A simple task to develop a tiny twitter clone in Meteor.
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
.meteor update to meteor 1.2.1 Dec 28, 2015
server test code to check the task Sep 20, 2015
tests/jasmine use google auth instead of twitter Dec 9, 2015
.gitignore test code to check the task Sep 20, 2015
LICENSE test code to check the task Sep 20, 2015
README.md update task step descriptions Jan 14, 2016
task-twitter-clone.css initial commit Sep 19, 2015


task-twitter-clone (Meteor)

This is a Meteor task to develop a simple twitter clone app. The app code is empty and only test code is available.

How to work at the task

  1. fork the repository
  2. clone the forked repository
  3. cd meteor-task-twitter-clone
  4. meteor
  5. wirte code for each task steps
  6. commit and push

Task steps

step01: Title

  • change HTML and H1 titles

step02: Google authentication

  • add Google authentication
  • also configure it, and check if login is successful

step03: Collection

  • define a collection in both server and client

step04: New post form

  • show a form

step05: Adding new posts

  • when the form is submitted, add a post document to the collection
  • use "Collection.insert"

step06: Showing posts

  • show posts in the collection

step07: Permission check

  • remove "insecure" package
  • make it so that unauthenticated users cannot add a post

(following steps do not have tests.)

step08: User profile

  • show username for each posts

step09: Paging

  • remove "autopublish" package
  • sort the posts in reverse chronological order
  • only show some of posts and add "see more" feature (a.k.a. infinity scroll)

step10: Notification

  • show unread posts count or highlight unread posts
  • use "cursor.observe"

step11: Reply posts

  • add "reply" feature to each posts
  • add "in-reply-to" property to reply posts
  • show reply posts by any means you want