View on GitHub

Notepal

Jupiter System - Collaborative Editing - Applied to Sticky Notes

Download this project as a .zip file Download this project as a tar.gz file

Models

|-------------------|            |------------------------|          |------------------------|
|       User        |            |       Operations       |          |          Note          |
|-------------------|            |------------------------|          |------------------------|
| username (string) |<--|        | _id (ObjectId)         |      |-->| id (string)            |
| password (string) |   |--------| idUser (ObjectId)      |      |   | state (string)         |
|-------------------|            | type (string)          |  (1) |   | text (string)          |
                                 | param (Mixed)          |------|   | x (int)                |
                                 | timestamp (Date)       |          | x (int)                |
                                 |------------------------|          |------------------------|

                                    (1) if operation applied to a note, param contains its ID.