https://github.com/lliepjiok/orderserver
gRPC server designed for managing orders
https://github.com/lliepjiok/orderserver
docker golang grpc nginx postgresql redis rest-api
Last synced: 3 months ago
JSON representation
gRPC server designed for managing orders
- Host: GitHub
- URL: https://github.com/lliepjiok/orderserver
- Owner: LLIEPJIOK
- Created: 2024-11-25T04:37:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T04:38:25.000Z (over 1 year ago)
- Last Synced: 2025-08-09T21:48:43.220Z (11 months ago)
- Topics: docker, golang, grpc, nginx, postgresql, redis, rest-api
- Language: Go
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Order server
This project is a gRPC server designed for managing orders with full CRUD (Create, Read, Update, Delete) functionality. It supports RESTful APIs through gRPC-Gateway and integrates with PostgreSQL for persistent storage and Redis for caching. The application is containerized using Docker and designed to run in multiple instances, with NGINX handling load balancing.
---
## Run
1. **Clone the Repository**:
```bash
git clone git@github.com:LLIEPJIOK/orderserver.git
```
2. **Navigate to the project folder:**
```bash
cd orderserver
```
3. **Run Docker Images**:
```bash
docker-compose up
```
This will launch:
- PostgreSQL and Redis services.
- Multiple instances of the gRPC server.
- NGINX for load balancing.
---
## Accessing the Services
- **REST API and gPRC**: Access via NGINX at `http://localhost:80`.