AnomalyInnovations/serverless-stack-demo-api
소개
Serverless Stack Guide의 데모 앱 API 소스 코드입니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalServerless Stack Demo API 
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.
관련 프로젝트 살펴보기
불러오는 중…