Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Đặng Phước Quang committed Sep 12, 2023
1 parent 48d21db commit 027a557
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ redis_db: 0
```shell script
$ go run cmd/api/main.go
```
```
2023-09-12T15:18:36.684+0700 INFO http/server.go:58 HTTP server is listening on PORT: 8888
2023-09-12T15:18:36.684+0700 INFO grpc/server.go:53 GRPC server is listening on PORT: 8889
```

### Test
```shell script
Expand All @@ -51,13 +55,6 @@ go test -timeout 9000s -a -v -coverprofile=coverage.out -coverpkg=./... ./...
make unittest
```

Project information and existing API

```
2023-09-12T15:18:36.684+0700 INFO http/server.go:58 HTTP server is listening on PORT: 8888
2023-09-12T15:18:36.684+0700 INFO grpc/server.go:53 GRPC server is listening on PORT: 8889
```

### Document
* API document at: `http://localhost:8888/swagger/index.html`

Expand All @@ -75,4 +72,5 @@ Project information and existing API
### What's next?
- gRPC functions for products and orders
- Push message to notify place order successfully
- Payment with PayPal
- Define error response wrapper

0 comments on commit 027a557

Please sign in to comment.