feat: Add announcements endpoints (#91)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Teles (afterSt0rm) <alexandre.teles@ufba.br>
This commit is contained in:
oSumAtrIX
2023-10-11 03:32:53 +02:00
committed by GitHub
parent c65b43aff3
commit 8583e2a2bb
21 changed files with 1628 additions and 292 deletions

View File

@@ -20,7 +20,11 @@ To run this API, you need Python 3.11.x. You can install the dependencies with p
poetry install
```
Create an environment variable called `GITHUB_TOKEN` with a valid GitHub token with read access to public repositories.
Create the following environment variables:
- `GITHUB_TOKEN` with a valid GitHub token with read access to public repositories
- `SECRET_KEY` to salt login sessions
- `USERNAME` & `PASSWORD` to initialize the database with a user to login with to authenticated endpoints
Then, you can run the API in development mode with: