1.0.7 • Published 1 year ago

appsheet-receipter v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

AppSheet Receipter

This is a development release

Takes JSON input from an appsheet webhook and writes it to a table. Purpose: to store records of events with a generic structure to be able to be rendered or recalled on demand.

POST data to create a receipt

POST: /appsheet/receipter/:id

{
  "UpdateMode": "",
  "Application": "Application Name",
  "TableName": "Table",
  "UserName": "Ben",
  "At": "12/6/2022 1:59:26 AM",
  "Data": {
    "ID": "2",
    "App": "AppSheetAppName-1234567",
    "Name": "",
    "Value": "",
    "User": "",
  }
}

GET data to view a receipt

GET: /appsheet/receipter/:id?template=https://path.to.html.url/

GET data to view a receipt

Serve your custom templates here if you like. GET: /appsheet/receipter/template/:templateName

Table Structure

IDParent_IDDataUserModuleTableRecordedcreatedAtupdatedAt
uuid:id from route{"msg":"json"}BBCModuleNameTableNameRecordedcreated timestampupdated timestamp

Deployment

  • Add package and pass in sequelize and mailer
  • POST / GET and away you go.

I'm sure there will be issues - for the moment, that is all.

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago