Git Product home page Git Product logo

react-native-loan-app's Introduction

Simple React Native Loan App

This is a simple loan application created in react native and firebase with Rave APIs used in handling various payments.

Table Of Contents

Prerequisites

Dependencies

Running $ npm install in your terminal, which installs:

  • react-navigation
  • firebase
  • react-native-rave

How To Set It Up Locally

Note: We need Rave Test or/and Live account run this app.

Also ensure you have Expo CLI installed and also Expo Client installed on your mobile phone depending on your phone type Google Play for Android phones and Apple Store for iOs mobile phones to scan the qr code displayed on the terminal window.

To use this project locally you can clone this repo here:

  • Open your Terminal/Command Prompt
  • $ git clone https://github.com/MaestroJolly/react-native-loan-app
  • $ cd react-native-loan // change directory into cloned app directory
  • $ npm install // To install all dependencies
  • $ expo start // This is used to start our project from the Expo CLI

File Structure

react-native-loan-app
+ assets
+ components
- libraries
 - Firebase.js
- screens
 - AccountScreen.js
 - ApplyScreen.js
 - BvnScreen.js
 - ChargeScreen.js
 - HistoryScreen.js
 - HomeScreen.js
- src
 - assets
- App.js
- package.json

After the app has been successfully scanned and built, it should bring out this:

Loan App Screen

For Our Firebase Database, you need to open a firebase account here, then open the libraries directory in our project directory after that we then add your database configuration to file Firebase.js which has this code sample:

import firebase from  'firebase';

// Initialize Firebase
var config = {
    apiKey: "<YOUR-FIREBASE-API-KEY>",
    authDomain: "<YOUR-FIREBASE-AUTH-DOMAIN>",
    databaseURL: "<YOUR-FIREBASE-DATABASE-URL>",
    projectId: "<PROJECT_ID>",
    storageBucket: "<YOUR-FIREBASE-STORAGE-BUCKET>",
    messagingSenderId: "<SENDER_ID>"
    };
    

const Firebase = firebase.initializeApp(config);

export default Firebase;

Contributions

You are welcome to fork and and test out this sample loan app project.

react-native-loan-app's People

Contributors

maestrojolly avatar

Watchers

James Cloos 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.