Skip to content

guptaharsh13/rbac-auth-service

Repository files navigation

RBAC Authentication Service

ERD

About the Backend

A robust containerized task management system that prioritizes security and user access management. Users can register and authenticate securely, while also having the option to deactivate or delete their accounts, adhering to data retention policies. It offers role-based and group-based access management for tasks, ensuring that sensitive information remains protected. It ensures data integrity and user safety. Additionally, it provides seamless support for bulk upload using CSV files, guaranteeing that relationships between users and tasks are accurately preserved.

Key Features

  • Authentication and Authorization
  • Custom Role-based and Group-based access management
  • Secure Bulk Uploads from CSV files

Tech Stack

  • Go
  • Gin
  • Gorm
  • PostgreSQL
  • Docker

Getting Started

Prerequisites

Setup

  • Clone the repo.

    git clone https://github.com/guptaharsh13/rback-auth-service
  • Change into the directory.

    cd rback-auth-service
  • Environment Variables

    touch .env

    For running this project successfully you'll need to create a .env file and store your PostgreSQL there like .env.sample.

Usage

Local Run

go mod tidy
go run cmd/*.go 

Docker Run

docker-compose up --build -d

Create Admin User

go run cmd/*.go create admin <username> <email> <password>

Now, may access the app on http://localhost:PORT

PORT: You may have optionally specified in the .env file

API documentation

View API Doc Button

Contact

Harsh Gupta - hg242322@gmail.com

GitHub Link: https://github.com/guptaharsh13

Made with ❤ by Harsh Gupta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published