Coder Social home page Coder Social logo

mtaghavian / simple-banking Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 6.0 1.76 MB

Simple full-stack banking application named "Wallet" using Spring Boot and Android

Java 100.00%
spring-boot microservices https authentication liquibase junit jpa-hibernate android root-detection obfuscation

simple-banking's Introduction

What is this

This is a simple banking application demonstrating some capabilities of Spring Boot as a Back-End service framework and Android as a Front-End application Back-End capabilities include:

  • Microservices architecture
  • Security measures
    • Self-signed HTTPS connection and preventing man-in-the-middle attacks
    • Authentication using session validation
    • Preventing users to choose poor passwords and keeping SHA-256 hashcode of passwords in database
    • Not keeping banking card passwords in database
  • Database migration and schema change management using Liquibase
  • Using kafka to distribute load over time and make it possible to distribute load over several workers
  • Using JPA and Hibernate for data model management (Which this technology provides great functionalities like associations, bindings, entity graphs, lockings, transactions)
  • Using JUnit to test services in uppermost levels to check the functionalities and services

Also Front-End capabilities include:

  • Security measures
    • Self-signed HTTPS connection and preventing man-in-the-middle attacks
    • Root detection and preventing application to run on rooted devices
    • Obfuscating all classes to make reverse-engineering hard enough
    • Seperating core functionalities as SDK and making opportunity to write SDK in native C++ code to make it harder to reverse-engineer
  • Activities
  • Dialogs
  • Toasts

How to use

  1. Prerequisite) You must have postgresql database running with an empty database named "wallet", and kafka service running with 2 topics named "performing" and "verifying"
  2. Backend) Build backend application with "mvn package". Then run service with "java -jar target/wallet-0.0.1-SNAPSHOT.jar"
  3. Frontend) Set ip-address of your running service in variable named "prefix" in the class "com.example.wallet.sdk.MobileSdk". Build apk of frontend application with android studio and gradle. Then move the apk file to your phone and install it
  4. Sign-in with username=admin and password=admin or sign-up with a new user
  5. Start banking, you can do the following:
    • Add/delete/edit cards
    • Make transactions, send money from your cards to any target cards you want

About

Masoud Taghavian ([email protected])
Enjoy!

Screenshots

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5 screenshot6 screenshot7 screenshot8 screenshot9 screenshot10 screenshot11 screenshot12 screenshot13 screenshot14

simple-banking's People

Contributors

mtaghavian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.