• Stars
    star
    517
  • Rank 85,558 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Source for the demo app API in the Serverless Stack Guide

Serverless Stack Demo API Seed Status

Serverless Stack is a free comprehensive guide to creating full-stack serverless applications. We create a note taking app from scratch.

The main part of the guide uses SST. We also have an alternative version that uses Serverless Framework. This repo is the source for the Serverless Framework version of the backend. There's a frontend React client that connects to this as well.

Usage

To use this repo locally you need to have the Serverless framework installed.

$ npm install serverless -g

Clone this repo and install the NPM packages.

$ git clone https://github.com/AnomalyInnovations/serverless-stack-demo-api
$ npm install

Run a single API on local.

$ serverless invoke local --function list --path event.json

Where, event.json contains the request event info and looks something like this.

{
  "requestContext": {
    "authorizer": {
      "claims": {
        "sub": "USER-SUB-1234"
      }
    }
  }
}

Finally, run this to deploy to your AWS account.

$ serverless deploy

This project refers to an .env file for secret environment variables that are not checking in to the repo. Make sure to create one before deploying - https://serverless-stack.com/chapters/load-secrets-from-env.html.


This repo is maintained by Anomaly Innovations; makers of Seed and Serverless Stack.

More Repositories

1

serverless-nodejs-starter

A Node.js starter for Serverless Framework with ES6 and TypeScript support
JavaScript
755
star
2

serverless-stack-demo-client

Source for the demo app client in the Serverless Stack Guide
JavaScript
636
star
3

serverless-bundle

Optimized packages for ES6 and TypeScript Node.js Lambda functions without any configuration.
JavaScript
531
star
4

aws-api-gateway-cli-test

A simple CLI to test API Gateway endpoints with IAM authorization
JavaScript
120
star
5

serverless-stack-demo-ext-api

Source for the extended version of the demo app API in Serverless Stack.
JavaScript
92
star
6

serverless-lerna-yarn-starter

A Serverless monorepo starter that uses Lerna and Yarn Workspaces.
JavaScript
83
star
7

serverless-typescript-starter

A Serverless starter that adds TypeScript, serverless-offline, linting, environment variables, and unit test support.
TypeScript
80
star
8

serverless-stack-demo-mono-api

A sample mono-repo multi-service Serverless application with AWS CloudFormation cross-stack references.
JavaScript
52
star
9

serverless-stack-demo-user-mgmt-client

Source for demo app client with user management in Serverless-Stack.com
JavaScript
41
star
10

serverless-stack-demo-ext-resources

Source for the extended version of the demo app resources in Serverless Stack.
JavaScript
40
star
11

serverless-python-starter

Python starter project for Serverless Framework
Python
37
star
12

serverless-stack-demo-fb-login-client

Source for the Facebook login demo app client in Serverless-Stack.com
JavaScript
31
star
13

sigV4Client

A standalone client for signing API Gateway requests for Signature Version 4
JavaScript
17
star
14

toolbeam-cli

CLI for Toolbeam
JavaScript
16
star
15

toolbeam-example-api

A simple API for the Toolbeam examples
JavaScript
4
star
16

serverless-cd-demo-a1c8

A demo Serverless Projects deployed using Seed
JavaScript
2
star