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

https://github.com/raphaelbh/stb-authentication-api

Authentication API
https://github.com/raphaelbh/stb-authentication-api

api-gateway authentication aws cognito cognito-user-pool github-actions lambda oauth2 rest-api sam users

Last synced: 2 months ago
JSON representation

Authentication API

Awesome Lists containing this project

README

        

# STB: Authentication App

[![Project Status](https://img.shields.io/static/v1?label=project%20status&message=in%20development&color=yellow&style=flat-square)](#)

Application responsible for providing security for the APIs of the STB project.

**[update image]**
![resources](assets/images/resources.png)

Features:
- user sign up
- user login
- user logout
- user delete

## Requirements

- [aws sam cli](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)

## Installation

```bash
$ sam local start-api -n env.json
```

## Usage

```bash
# sign up
$ curl -X POST http://localhost:3000/signup
```

## Running Tests

```bash
$ export PYTHONPATH=application
$ pytest --cache-clear --cov-fail-under=90 --cov=application tests/
```

## Tech Stack

[![python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)](https://www.python.org/)
[![aws](https://img.shields.io/badge/Amazon_AWS-FF9900?style=for-the-badge&logo=amazonaws&logoColor=white)](https://aws.amazon.com/)

## Reference

- https://aws.amazon.com/blogs/compute/using-github-actions-to-deploy-serverless-applications/
- https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html
- https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html

## Feedback

If you have any feedback, please contact me at [email protected]

[![github](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/raphaelbh)
[![linkedin](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/raphaelbh/)