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
- Host: GitHub
- URL: https://github.com/raphaelbh/stb-authentication-api
- Owner: raphaelbh
- Created: 2022-04-12T01:48:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-09T20:28:37.000Z (about 3 years ago)
- Last Synced: 2025-01-25T20:11:27.593Z (4 months ago)
- Topics: api-gateway, authentication, aws, cognito, cognito-user-pool, github-actions, lambda, oauth2, rest-api, sam, users
- Language: Python
- Homepage:
- Size: 173 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STB: Authentication App
[](#)
Application responsible for providing security for the APIs of the STB project.
**[update image]**
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
[](https://www.python.org/)
[](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]
[](https://github.com/raphaelbh)
[](https://www.linkedin.com/in/raphaelbh/)