Giter Site home page Giter Site logo

ishad-m-i-m / iblockapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from identityblock/iblockapp

1.0 0.0 0.0 2.33 MB

Person Verification Digital Platform

License: GNU General Public License v3.0

C++ 15.60% C 1.00% Objective-C 0.03% Java 0.11% Dart 68.03% Swift 1.14% HTML 1.28% CMake 12.81%

iblockapp's Introduction

iBlock Mobile Application

Source code for the mobile application of the iBlock person verification digital platform.

Objective

Provide a user-friendly interface to interact with the platform.

Directory Structure

Since project uses Flutter framework directories are organized according to it. The development is completely inside /lib directory.
Overview of files and directories in /lib

  • main.dart - Handling theming, routing of the application.
  • config.dart - Configurations for the application.
  • /bloc - Contains all business logics for the application. The project is using flutter_bloc library for state management.
    • /initialize - contains all business logic, states, events related to initializing the app.
    • /signup - contains all business logic, states, events used for signup process (including the recovery).
    • /settings - contains all business logic, states, events for handle settings of the application.
    • /verify - contains all business logic, states, events for handle verify process.
  • /pages - Contains files for render the screens in the app.
  • /widgets - Contains all supporting widgets created.
  • /services - Contains all services created to support the application activities.

Configurations

App can be configured to be used in any ethereum based testnet. To configure edit the lib/config.dart file. Following is a sample configuration to link with local ganache server

static const String rpcUrl = "http://localhost:7547"; // local ganache server address
static const String wsUrl = "ws://localhost:7547";
static const int chainId = 5777; // chainID of the ganache blockchain

Application has a backend with few REST API end points. link.

static const String backendUrl = "http://localhost:3000"; // address of the backend server

Since backend REST end points are protected with an APIKEY need to create a secrets.dart within the lib/ directory. There specify the APIKEY used by the backend as follows.

const String APIKEY = "<APIKEY>";

Initial Design

Built with :

Flutter

iblockapp's People

Contributors

akila-i avatar ishad-m-i-m avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.