Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@addo/common-api

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@addo/common-api

The backend for a serverless Addo application. Built with AWS Lambda and the Serverless Framework.

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

Addo AWS API

The backend for a serverless Addo application. Built with AWS Lambda and the Serverless Framework.

Setup

Prerequisites

  • Node.js & NPM
  • Yarn
  • The Serverless Framework

Install dependencies

yarn

or

npm i

Running Tests

yarn test
npm run test

Deploy

serverless deploy

Configuration

Enter your configuration variables in secrets.json. Example:

{
  "stripeSecretKey": "sk_test_or_live_1234656",
  "mongodb_connection_string": "mongodb+srv://addo:VeryStrongPassord@addomongodb.com/dbname?retryWrites=true&w=majority",
  "images": {
    "endpoint": "https://image_to_upload_on_S3_AWS.com",
    "bucket": "BucketName",
    "accessKeyId": "123456ASDFG",
    "secretAccessKey": "123456ASDFG",
    "region": "region-aws"
  }
}

You need:

  • Your Stripe secret key
  • Your MongoDb connection string
  • Endpoint of images storage
  • Bucket name of AWS Storage
  • AccessKeyId
  • SecretAccessKey
  • AWS Region

Thanks

addo-aws-api © 2020+, Addo Ticket Srl.
Authored and maintained by Addo Ticket Srl with help from contributors ([list][contributors]).

Addo Ticket Srl  · 

FAQs

Package last updated on 10 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts