apillai / cmiserverless

Serverless implementation of a CMIS server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to CMIServerless

This project implements a CMIS 1.1 compliant server on AWS using a serverless architecture.

Pre-requisites

Setup

cd src
npm install node-uuid

Deploy

aws cloudformation package --template-file sam-template.yaml --s3-bucket <bucket-name> --output-template-file sam-deploy.yaml
aws cloudformation deploy --template-file sam-deploy.yaml --stack-name cmiserverless --capabilities CAPABILITY_IAM

Testing

Use the Postman collection in the test/postman folder to test the deployment.

Running Tests Locally

cd src
npm install aws-sdk
npm install dynamodb-doc
node cmis-test.js

NOTE: You'll need to remove the aws-sdk and dynamodb-doc modules before performing subsequent deployments.

About

Serverless implementation of a CMIS server

License:Apache License 2.0


Languages

Language:JavaScript 100.0%