Skip to content

Commit

Permalink
Merge pull request #8 from EleisonC/Implement-Login-route-with-JWT
Browse files Browse the repository at this point in the history
[sprint4][task3]Ft/chore - Implements login route and jwt auth
  • Loading branch information
EleisonC authored May 27, 2024
2 parents ed0510b + ad162ee commit 9b7e872
Show file tree
Hide file tree
Showing 13 changed files with 744 additions and 45 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- name: Build and test auth-service code
working-directory: ./auth-service
run: |
export JWT_SECRET=secret
cargo build --verbose
cargo test --verbose
Expand Down Expand Up @@ -94,6 +95,7 @@ jobs:
password: ${{ secrets.DROPLET_PASSWORD }}
script: |
cd ~
export JWT_SECRET=${{ secrets.JWT_SECRET }}
export AUTH_SERVICE_IP=${{ vars.DROPLET_IP }}
docker-compose down
docker-compose pull
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ visit http://localhost:3000

## Run servers locally (Docker)
```bash
docker compose build
docker compose up
./docker.sh
```

visit http://localhost:8000 and http://localhost:3000
Loading

0 comments on commit 9b7e872

Please sign in to comment.