2.4.0 • Published 1 year ago

airview-cms-api v2.4.0

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

Airview CMS API

Airview CMS API provides a reusable library for the backend components of the Airview CMS.

Overview

Airview CMS is backed by an api which communicates using json via http. The api is responsible for proxying request to a git backend, mapping/transforming data, and caching assets to 'local' storage to avoid repeated requests to the git backend for the same data or repeated computation for data which has been previously prepared. 'local' here means local to the stack, you may wish to use something like AWS S3 if wiring this up in lambda.

The scope of this package it to allow a consumer to wrap their api around reusable backend logic. The package does not implement any generation of api responses/response codes or marshalling of request/responses to json, etc. It is business logic, interaction with git and caching of data.

The consumer must implement the http side themselves but need to ensure it maps to what the cms is expecting. The reason for this is that the package may need to be hosted on a variety of cloud and local environments, each with their own way of doing things. Because of this we provide a reference example using express.js of what methods be implemented, and the consumer should wire this up to api framework of their own choosing. You may also wish to just use the example directly and host using express.js

Example Implementation

Documentation

Code is documented inline using tsdoc and auto generated into markdown format using typdoc.

The generated documentation is in docs

2.4.0

1 year ago

2.2.3

1 year ago

2.3.8

1 year ago

2.3.7

1 year ago

2.3.9

1 year ago

0.1.1

1 year ago

2.3.0

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.3.4

1 year ago

2.3.3

1 year ago

2.3.6

1 year ago

2.3.5

1 year ago

2.3.17

1 year ago

2.3.16

1 year ago

0.2.1

1 year ago

2.3.13

1 year ago

2.3.12

1 year ago

2.3.15

1 year ago

2.3.14

1 year ago

2.3.11

1 year ago

2.3.10

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.0.53

1 year ago

0.1.0

1 year ago

0.0.52

1 year ago

0.0.51

1 year ago

0.0.50

1 year ago

0.0.49

2 years ago

0.0.48

2 years ago

0.0.47

2 years ago

0.0.46

2 years ago

0.0.45

2 years ago

0.0.44

2 years ago

0.0.43

2 years ago

0.0.42

2 years ago

0.0.41

2 years ago

0.0.40

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago