0.0.92 • Published 3 years ago

simplee-serverless-framework v0.0.92

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

simplee-serverless-framework

NPM version Build Status Coverage Status

Features

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install simplee-serverless-framework --save

# For Yarn, use the command below.
yarn add simplee-serverless-framework

Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/simplee-serverless-framework"></script>

<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/simplee-serverless-framework"></script>

<script>
  // UMD module is exposed through the "SimpleServerlessFramework" global variable.
  console.log(SimpleServerlessFramework);
</script>

Usage

Initialization

SimpleServerlessFramework.init({
  database: {
    URI: '' // connects to mongoose before any Consumers, Endpoints or Schedules
  },
  endpoints: {
    secret: '', // used to token authenticate
    middlewares: [], // middlewares that will run before any endpoint
    middlewaresAfterAuthenticate: [] // middlewares that will run after any endpoint
  },
  aws: {
    id: '', // AWS ID Account (required)
    region: '' // AWS Region (required)
  },
  stage: '' // dev or prod (required)
})

Database

SimpleServerlessFramework.Database.model({
})

SimpleServerlessFramework.Database.schema({
})

SimpleServerlessFramework.Database.relationships({
})

Services

SimpleServerlessFramework.Services.register({
})

Consumers

SimpleServerlessFramework.Consumers.register({
})

Endpoints

SimpleServerlessFramework.Endpoints.register({
})

SimpleServerlessFramework.Endpoints.Controllers.list({
})

SimpleServerlessFramework.Endpoints.Controllers.details({
})

SimpleServerlessFramework.Endpoints.Controllers.create({
})

SimpleServerlessFramework.Endpoints.Controllers.update({
})

SimpleServerlessFramework.Endpoints.Controllers.activateDeactivate({
})

SimpleServerlessFramework.Endpoints.Controllers.softDelete({
})

SimpleServerlessFramework.Endpoints.Controllers.delete({
})

Schedules

SimpleServerlessFramework.Schedules.register({
})
0.0.84

3 years ago

0.0.85

3 years ago

0.0.86

3 years ago

0.0.87

3 years ago

0.0.88

3 years ago

0.0.89

3 years ago

0.0.80

3 years ago

0.0.81

3 years ago

0.0.82

3 years ago

0.0.83

3 years ago

0.0.73

3 years ago

0.0.74

3 years ago

0.0.75

3 years ago

0.0.76

3 years ago

0.0.77

3 years ago

0.0.78

3 years ago

0.0.79

3 years ago

0.0.70

3 years ago

0.0.71

3 years ago

0.0.72

3 years ago

0.0.63

3 years ago

0.0.64

3 years ago

0.0.65

3 years ago

0.0.66

3 years ago

0.0.68

3 years ago

0.0.69

3 years ago

0.0.90

3 years ago

0.0.91

3 years ago

0.0.92

3 years ago

0.0.62

3 years ago

0.0.61

3 years ago

0.0.42

3 years ago

0.0.43

3 years ago

0.0.44

3 years ago

0.0.45

3 years ago

0.0.46

3 years ago

0.0.47

3 years ago

0.0.60

3 years ago

0.0.59

3 years ago

0.0.51

3 years ago

0.0.52

3 years ago

0.0.53

3 years ago

0.0.54

3 years ago

0.0.55

3 years ago

0.0.56

3 years ago

0.0.57

3 years ago

0.0.58

3 years ago

0.0.50

3 years ago

0.0.48

3 years ago

0.0.49

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.34

3 years ago

0.0.33

3 years ago

0.0.32

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.2

3 years ago