Skip to content

Commit

Permalink
docs: update readme to show examples of how to test and run the app
Browse files Browse the repository at this point in the history
  • Loading branch information
flohansen committed Jun 10, 2024
1 parent 8967d99 commit 0ec041b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,24 @@

![ci pipeline](https://github.com/flohansen/dasher-server/actions/workflows/main.yml/badge.svg)

## How to

### Run tests
```
make test
```
or
```
go test ./... -race
```
### Run server
```
make run
```
or
```
go run cmd/main.go
```

## API Paths
`GET` `/api/v1/toggles`: Get all toggles stored by the server

0 comments on commit 0ec041b

Please sign in to comment.