https://github.com/yagoluiz/discount-microservices
Comunication microservices using gRPC and .NET Core 3
https://github.com/yagoluiz/discount-microservices
docker docker-compose grpc microservice netcore3
Last synced: 3 months ago
JSON representation
Comunication microservices using gRPC and .NET Core 3
- Host: GitHub
- URL: https://github.com/yagoluiz/discount-microservices
- Owner: yagoluiz
- Created: 2019-12-06T20:07:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-13T01:31:19.000Z (almost 6 years ago)
- Last Synced: 2025-03-17T07:44:57.325Z (7 months ago)
- Topics: docker, docker-compose, grpc, microservice, netcore3
- Language: C#
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discount - Microservices

Microservice responsible for submitting discount data information via gRPC [product microservice](https://github.com/yagoluiz/product-microservices).
## Data information
Data is stored in Postgres database. The scripts for table generation and initial data are present in the **sql folder**.
## Instructions for run project
Run project via docker, via Visual Studio (F5 or CTRL + F5), Visual Studio Code (tasks project) or dotnet CLI.
For run project and integration testing, the database must be run.
### Container
* Docker:
`docker build -t discount-microservices .`
Run project [product microservice](https://github.com/yagoluiz/product-microservices):
`docker build -t product-microservices .`
* Docker compose:
`docker-compose up -d .`