Skip to content

Commit

Permalink
Informational Update
Browse files Browse the repository at this point in the history
1. Added Postman Collection
2. Update Readme to include documentation on how to use .env
  • Loading branch information
ahmadabdulnasir committed Jun 21, 2022
1 parent fb51efc commit b0113a2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,25 @@ flask run --reload

The `--reload` flag will detect file changes and restart the server automatically.


## Using .env File for Environmental Variables

1. Create an empty file named .env in ./backend/src/.env
2. Edit the .env file and add your Variables:
- AUTH0_DOMAIN
- ALGORITHMS
- API_AUDIENCE
e.g
```bash
FLASK_APP="flaskr"
FLASK_ENV="development"
AUTH0_DOMAIN="<YOUR_AUTH0_DOMAIN>"
ALGORITHMS="<YOUR_AUTH0_ALGORITHMS> e.g RS256"
API_AUDIENCE="<AUTH0_AUDIENCE>"
```
3. Go to [Flask Auth0 Documentation](https://auth0.com/docs/quickstart/backend/python/01-authorization)


## Tasks

### Setup Auth0
Expand Down
File renamed without changes.

0 comments on commit b0113a2

Please sign in to comment.