Maulana SodiqinandGitHub 874f25aa80 Merge pull request #23 from bakunya/develop
transform id(thing) to id(string) on get role, permission, users
2025-05-04 17:24:13 +07:00
2025-04-01 20:00:00 +07:00
2025-04-07 20:08:26 +07:00
2025-04-06 22:13:46 +07:00
2025-02-03 21:53:42 +07:00
2025-03-30 16:08:58 +07:00
2025-02-07 22:26:32 +07:00
2025-02-26 15:55:48 +07:00
2025-03-17 09:27:19 +07:00
2025-03-20 17:36:43 +07:00
2025-04-07 20:41:14 +07:00
2025-02-03 21:53:42 +07:00
2025-04-07 20:08:26 +07:00
2025-02-03 21:53:42 +07:00
2025-03-30 16:08:58 +07:00
2025-02-16 01:02:51 +07:00
2025-03-30 16:08:58 +07:00
2025-04-07 20:08:26 +07:00
2025-03-18 14:13:53 +07:00
2025-02-26 15:45:05 +07:00

IMPHNEN Backend Service

IMPHNEN

This repository serves as the monorepo for all backend services of IMPHNEN. It encompasses several main services:

  1. Core Service - Provides fundamental functionalities and shared resources for other services.
  2. IAM Service - Handles identity and access management across IMPHNEN applications.
  3. CMS Service - Supports the cms services by IMPHNEN Landing Page website.
  4. Gacha Service - Supports the gacha services by IMPHNEN Gacha website.
  5. Dimentorin Service - Supports the mentoring services by IMPHNEN Dimentorin website.
  6. Gateway Service - Acts as the API gateway, routing requests to appropriate services.

How to Install

  1. Clone the repository:

    git clone https://github.com/IMPHNEN/imphnen-backend-service.git
    cd imphnen-backend-service
    
  2. Set up the environment:

    • Copy the example environment files:

      cp .env.example .env
      

      if you use windows based system

      ./apply-env.ps1
      

      if you use unix based system

      sh apply-env.sh
      
    • Modify the .env files with your specific configuration settings.

  3. Install dependencies:

    Ensure you have Rust installed. Then, run:

    cargo build
    

How to Run

Development

To run the services in development mode:

  1. Start the database and other dependencies using Docker Compose:

    docker-compose up -d
    
  2. Run the desired service. For example, to run the Core Service:

    cargo run -p imphnen-core-service --bin api
    

Production

For production deployment:

  1. Build the Docker image:

    docker build -t imphnen-backend-service .
    
  2. Run the Docker container:

    docker run -d --env-file .env -p 8080:8080 imphnen-backend-service
    

    Adjust the port and environment variables as needed.

How to Contribute

  1. Fork the repository and clone it locally.

  2. Create a new branch for your feature or fix:

    git checkout -b feat/your-feature-name
    
  3. Make your changes, commit them, and push to your forked repository.

  4. Create a pull request to the develop branch of this repository.

If you encounter any issues or have questions, feel free to create a new issue in the repository.


Note: For detailed API documentation, please refer to our API Docs.

S
Description
Fork of IMPHNEN/imphnen-backend-service (mirror)
Readme
2.7 MiB
Languages
Rust 97%
Nix 2%
PowerShell 0.4%
Shell 0.4%
Dockerfile 0.2%