Giter VIP home page Giter VIP logo

lambda-function-calendar-journal's Introduction

Serverless Calendar Journal

A journal management function.

Calendar Journal

Overview

A calendar journal is useful for recording outcomes of past events and keeping records of achievements. A journal consists of a series of entries that record descriptive information and any related participants, attachments, comments, etc.

A journal might be used to record meeting minutes (absentees, discussion points, actions, etc.), track activities and outcomes of actions, or as a personal diary or microblogging platform.

Revisions

A journal entry may consist of multiple revisions representing changes to the recorded details. Each revision is stored as a separate record in the database. The unique identifiers making up the composite key include:

  • UID - Unique identifier for the journal entry (shared by all revisions of an entry)
  • Sequence Number - Incremental revision identifier (indicates new revision of an entry)
  • Recurrence ID - A timestamp identifier for specific instances of a recurring journal entry

Attachments

A journal entry may refer to one or more attachments via an external link (URL) or an inline base64 encoded binary.

Comments

One or more comments can be associated with a journal entry, which are defined via inline text or an external reference (URL).

Contacts

Multiple contacts may also be associated with a journal entry. Contact information may be define as inline text and/or an external reference (URI).

Categories

Text-based labels or categories may be associated with a journal entry.

Related

Related calendar entries, journals or tasks may also be recorded against a journal entry. An example of this may be when a journal entry represents recorded minutes for a meeting.

Classification

Journal entries may be classified as public, private or confidential, and may be used to control access and controls applied to a journal entry.

Specification

Input Event

The following JSON structure is used to create, update and retrieve journal entries.

Create entry

{
    "action": "compose",
    "summary": "A new entry",
    "description": "A longer text description",
    "organizer": "John Doe"
}

Create recurring entry

{
    "action": "compose",
    "summary": "Monthly Retrospective",
    "description": "Record actions from retro",
    "organizer": "John Doe",
    "rrule": "FREQ=MONTHLY;BYDAY=MO"
}

Create entry revision

{
    "action": "revision",
    "uid": "1234",
    "summary": "An entry update",
    "description": "A longer text description",
    "organizer": "John Doe"
}

Create entry recurrence revision

{
    "action": "revision",
    "uid": "1234",
    "recurrence-id": "20210214",
    "summary": "February Retrospective",
    "description": "Actions from Feb retro: ..",
    "organizer": "John Doe"
}

List revisions

{
    "action": "list",
    "uid": "1234",
    "depth": "-1"
}

Entry search

{
    "action": "search",
    "from": "2020-01-01",
    "organizer": "[email protected]"
}

DynamoDB

PK SK Name Date Organizer Summary Description Categories Classification URL
ENTRY#<uid>:<sequenceno>:<recurid> #METADATA#<uid>#.. Jan 01 2021 2020-01-01 [email protected] First day of 2021 Relaxing start to the year my-journal PUBLIC -
CATEGORY#my-journal #METADATA#my-journal My Journal
ENTRY#<uid>:<sequenceno>:<recurid> ATTACH#1 - - - - https://photos.example.com/relax.png
ENTRY#<uid>:<sequenceno>:<recurid> CONTACT#1 John Doe - - - [email protected]
ORGANIZER#[email protected] #METADATA#[email protected] John Doe

lambda-function-calendar-journal's People

Contributors

benfortuna avatar

Watchers

James Cloos avatar  avatar  avatar

lambda-function-calendar-journal's Issues

Journal use-cases

Journal entries are typically suited to data that is relatively ephemeral, in that it is a record at a point of time but not intended to be an long-lived source of truth (although technically it could be).

Journals are also typically broadcast only in that bi-directional communication is not really supported. For collaborative discussion/messaging on journal entries an external reference/system should be used.

Some example use-cases that should be supported by calendar-journal:

  • Meeting minutes (absentees, notes, actions)
  • Blog (title, body, media, references)
  • Article (parent article, labels, authors, comments)
  • Bookmark (summary, link, tags)
  • Location check-in (venue)
  • Incident management
  • Ledger and payments
  • Invoice and billing
  • Announcements/broadcast
  • ..

Some examples that are probably NOT suited to calendar-journal:

  • Application portfolio management (APM)
  • Customer relationship management (CRM)
  • Support/recovery plans
  • Document management
  • User profiles
  • Messaging/presence
  • Inventory management
  • ..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.