https://github.com/hexarchy/grpcserviceexample
Example of gRPC sso service.
https://github.com/hexarchy/grpcserviceexample
docker go golang grpc itmo sqlight
Last synced: 3 months ago
JSON representation
Example of gRPC sso service.
- Host: GitHub
- URL: https://github.com/hexarchy/grpcserviceexample
- Owner: HexArchy
- Created: 2024-03-22T10:58:27.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T14:39:34.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T08:28:36.181Z (12 months ago)
- Topics: docker, go, golang, grpc, itmo, sqlight
- Language: Go
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSO Service
This Single Sign-On (SSO) service is designed to authenticate users across various systems. It's built using Go and can be easily deployed with Docker.
## Structure
- `api-contracts/`: Protobuf files and generated Go code for gRPC.
- `sso/`: Main application code including command line tools and internal libraries.
- `migrations/`: SQL migration files for database schemas.
- `storage/`: Persistent storage for SQLite databases.
## Getting Started
### Prerequisites
- Docker & Docker Compose
- Go (optional for local development)
### Installation
#### Docker
Clone the repository and navigate to the directory:
```bash
git clone
cd
```
Start the service using Docker Compose:
```bash
docker-compose up --build
```
The service should now be accessible at `http://localhost:44044`.
#### Local Setup
To run locally without Docker:
```bash
cd sso
go run ./cmd/sso --config=config/prod.yaml
```
### API
Refer to the `api-contracts/proto/sso/sso.proto` file for gRPC service definitions.
## Authors
- **Nikita Belyakov** - *Git* - [17HIERARCH70](https://github.com/17HIERARCH70/)