Skip to content

harkirat1892/mini_notification_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A mini notification system based on Codeigniter and MongoDB.

Whenever a notification needs to be sent out, it is pushed to the client using Tornado.

Implements persistent connection using long polling and Tornado.

Hence, notifications get pushed instantly to user, if the user is online and connected.

The Tornado implementation is here: https://github.com/harkirat1892/tornado_push_server

Links:

/login

/signup

/profile

/notifications

MongoDB Architecture:

There are 5 collections:

  • users

    _id

    name

    email

    password

    created

    last_seen

  • posts

    _id

    owner_id

    text

    created_on

  • comments

    _id

    post_id

    text

    by_user_id

    created_on

  • notifications

    _id

    to_user_id

    from_user_id

    post_id

    is_read

    is_fresh

    created_on

  • push_notifications

    _id

    users

    is_processed

    created_on

About

A mini notification system based on Codeigniter and MongoDB, along with instant push notifications to online users

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages