rahataid / rahat-platform

Rahat-Platform is a backend for Rahat, also known as Rahat core
https://docs.rahat.io
GNU Lesser General Public License v3.0
3 stars 13 forks source link
hacktoberfest hacktoberfest2023

🚨 Important Notice

We have reverted to the original repository for the Rahat Platform for all future development and maintenance. This repository was originally forked to facilitate the conversion of the project into a monorepo.

πŸ†• Original Repository

πŸ”— rahat-platform

ℹ️ What Does This Mean?


Core Repository Overview

Purpose and Structure

The core repository serves as the foundational codebase for managing and deploying multiple projects within a single, cohesive environment. It is designed to facilitate modular development, allowing teams to work on isolated components while ensuring seamless integration. The structure is organized to support scalability, maintainability, and ease of collaboration. It typically includes multiple directories for applications, libraries, tools, and configuration files, all managed through a monorepo approach to streamline development processes.

Core Components

Description of Key Components

Integration

How to Integrate with Project Repositories

Follow the steps below to set up and run the project in a development environment:

Prerequisites

Before you begin, ensure your system has the following dependencies installed:

Setup

  1. Clone the Repository

    Use the following command to clone the repository:

    git clone git@github.com:rahataid/rahat-platform-nx.git
  2. Bootstrap Rahat Core Services

    This step installs the dependencies and runs all necessary services in Docker, as well as scripts to set up the project:

    pnpm bootstrap
  3. Clone the Desired Project

    Rahat currently supports the following projects:

    Clone the project you want to run and follow the instructions in its README.md file.

  4. Run the Rahat Project

    Initiate the Rahat Core by executing the following commands in separate terminals:

    pnpm rahat
    pnpm beneficiary

    Note: If you require ETH in your MetaMask account, you can use the following command to get some test ETH. You will be asked to enter the wallet address to which you want to send the test ETH.

    pnpm getEth
  5. Access API Documentation

    You can explore the API documentation at: http://localhost:5501/swagger

Explore the functionalities provided by the Rahat Platform locally. If you encounter any issues, refer to the troubleshooting section within the documentation or contact the project maintainers for assistance.