Skip to content

Commit

Permalink
Merge pull request #24 from badgeteam/jwt-lib
Browse files Browse the repository at this point in the history
Add dependencies needed for JWT authorization middleware
  • Loading branch information
edwinm authored Nov 14, 2024
2 parents 2342d69 + 59b4a59 commit 5d9cc0d
Show file tree
Hide file tree
Showing 6 changed files with 861 additions and 1,749 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ POSTGRES_DB=badgehub
POSTGRES_USER=badgehub
POSTGRES_PASSWORD=badgehub
PGADMIN_DEFAULT_PASSWORD=badgehub
PGADMIN_DEFAULT_EMAIL=[email protected]
PGADMIN_DEFAULT_EMAIL=[email protected]

JWT_SIGNING_KEY="!!HackThePlanet!!"
4 changes: 3 additions & 1 deletion .env.prod.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ POSTGRES_DB=badgehub
POSTGRES_USER=badgehub
POSTGRES_PASSWORD=badgehub
PGADMIN_DEFAULT_PASSWORD=badgehub
[email protected]
[email protected]

JWT_SIGNING_KEY="!!HackThePlanet!!"
2 changes: 2 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ POSTGRES_USER=badgehub
POSTGRES_PASSWORD=badgehub
PGADMIN_DEFAULT_PASSWORD=badgehub
PGADMIN_DEFAULT_EMAIL=[email protected]

JWT_SIGNING_KEY="!!HackThePlanet!!"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ After setting up the development container, you can start it with
docker compose up --detach
```

The API should now be accessible through `localhost:8001`.

And to stop BadgeHub

```bash
Expand Down
Loading

0 comments on commit 5d9cc0d

Please sign in to comment.