Skip to content

yasinsaee/go-user-service

Repository files navigation

📦 User Service

A gRPC-based User Service built with Go, using MongoDB as database, supporting JWT with RSA keys, fully dockerized and ready for Docker Hub & Docker Compose usage.

Features

  • User, Role, Permission management via gRPC
  • MongoDB backend
  • JWT authentication with RSA keys (public/private)
  • Dockerized for easy deployment
  • Ready for Docker Hub usage and Docker Compose orchestration

📦 Quick Start

Prerequisites:

Step 1: Pull the latest Docker image

docker pull yasinsaeeniya/go-user-service:latest

Step 2: Download docker-compose.yml

The repository already contains a ready-to-use docker-compose.yml file. You can download it directly from GitHub:

Ubuntu / MacOS

curl -O https://raw.githubusercontent.com/yasinsaee/go-user-service/master/docker-compose.yml

Windows

Invoke-WebRequest -Uri "https://raw.githubusercontent.com/yasinsaee/go-user-service/master/docker-compose.yml" -OutFile "docker-compose.yml"

Step 3: Start the services

docker-compose up -d

Step 4: Verify services

Check if the containers are running:

docker-compose ps

🎉 Congratulations

The go-user-service is now up and running on your system! 🚀
You can start sending gRPC requests to it and integrate it into your applications.

🔗 Useful Links

About

A gRPC-based user service built with Go, using MongoDB as database, supporting JWT with RSA keys.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages