Skip to content

Commit

Permalink
add .env example
Browse files Browse the repository at this point in the history
  • Loading branch information
WeRockStar committed Mar 23, 2024
1 parent aa5b04e commit 2f7afee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ KBazaar - Online Shopping Application (Workshop)
## API Documentation
- Swagger UI: [http://localhost:8080/swagger-ui/index.html](http://localhost:8080/swagger-ui/index.html)

## Example for .env

```markdown
export SONAR_HOST_URL={REPLACE_ME}
export SONAR_TOKEN=${SONAR_TOKEN}

# spring config
export SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:5432/postgres
export SPRING_DATASOURCE_USERNAME=postgres
export SPRING_DATASOURCE_PASSWORD=postgres
export SECURITY_JWT_SECRET={REPLACE_ME}

export ENABLED_FEATURE_PROMOTION_LIST_API=false
```

## Existing Features
- List all Shopper GET /shoppers
Expand Down

0 comments on commit 2f7afee

Please sign in to comment.