Skip to content

enjuguna/MicroCred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Microcred Project

Overview

This project aims to build a secure and scalable microcredential system using Rust for the backend, MongoDB for data storage, and React Native for the mobile app. The project leverages the Linera SDK for microchain management and transaction handling.

Features

  • Backend: Built with Rust and Actix Web for high performance and safety.
  • Database: Utilizes MongoDB for flexible and scalable data storage.
  • API Design: RESTful API documented with OpenAPI (Swagger).
  • Linera SDK Integration: Manages microchains and handles transactions.
  • Mobile App: Built with React Native for cross-platform support.
  • Security: Implements encryption, access control, and input validation.

Getting Started

Prerequisites

Installation

  1. Clone the Repository

    git clone https://github.com/yourusername/microcred-project.git
    cd microcred-project
  2. Backend Setup

    • Navigate to the backend directory:
      cd microcred-backend
    • Install Rust dependencies:
      cargo build
    • Start the MongoDB server:
      mongod --dbpath /path/to/your/db
    • Run the backend server:
      cargo run
  3. Frontend Setup

    • Navigate to the frontend directory:
      cd microcred-frontend
    • Install Node.js dependencies:
      npm install
    • Start the React Native app:
      react-native run-android
      # or
      react-native run-ios

Usage

  • API Endpoints: Access the API at http://localhost:8080/. Refer to the OpenAPI documentation at http://localhost:8080/swagger.

API Endpoints

  • Create DID Credential:
    POST /dids

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages