An open API service indexing awesome lists of open source software.

https://github.com/theognis1002/serverless-nexus-app

Serverless application built with API Gateway, Lambda, AWS SAM
https://github.com/theognis1002/serverless-nexus-app

api-gateway aws-lambda aws-sam python3 serverless

Last synced: about 1 month ago
JSON representation

Serverless application built with API Gateway, Lambda, AWS SAM

Awesome Lists containing this project

README

          

# nexus-app
![alt text](https://img.shields.io/github/workflow/status/theognis1002/serverless-nexus-app/CI/main?style=for-the-badge)
![alt text](https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge)
![alt text](https://img.shields.io/badge/code%20style-autopep8-FF5733.svg?style=for-the-badge)

Serverless app built using AWS Serverless Application Model (SAM).

## Technologies
1. `python3.9`
1. `API Gateway`
1. `Lambda`
1. `docker`
1. `AWS CLI`
1. `AWS Serverless Application Model (SAM)`
1. `pytest`

## Initial Setup
1. Install dependencies
- Docker
- AWS CLI
- AWS SAM
1. Configure `~/.aws/credentials` with `AWS_ACCESS_KEY_ID` / `AWS-SECRET_ACCESS_KEY`
1. `make build`
1. `make deploy`

## Usage
1. Perform initial setup
1. Create appropriate usage plan and API key
1. Invoke API gateway endpoint(s)

## Testing
1. `make test`
- runs pytest unit tests
1. `make server`
- starts local lambda mock server to run integration tests against
1. `make mocktest`
- runs pytest integration tests with mock server

## Miscellaneous
1. `make format`
- runs autopep8 + isort across directories