Coder Social home page Coder Social logo

camelr786 / isosim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rkbalgi/isosim

0.0 0.0 0.0 7.73 MB

ISO8583 Web Simulator - Built with Go!

License: Apache License 2.0

Shell 0.17% JavaScript 7.58% Go 71.23% CSS 3.54% HTML 16.40% Batchfile 0.44% Dockerfile 0.63%

isosim's Introduction

Go Report Card codecov GoDev build GitHub release (latest by date including pre-releases) Docker Pulls

ISO WebSim

A very short screencast - https://youtu.be/vSRZ_nzU-Jg

Pulling a docker image would be the quickest way to run without any hassles of building/configuring etc!

Iso Websim is a ISO8583 simulator built using Go, React, Material-UI and other amazing open source libraries.

Features -

  • A mechanism to define ISO specifications
    • ASCII, EBCDIC, BCD and BINARY encoding for fields
    • Fixed, Variable, Bitmapped fields
    • Embedded/Nested fields
    • Supported MLI's - 2I, 2E, 4I, 4E
  • Define and run servers based on specs
    • Run servers from the UI or in standalone mode
    • Rules to respond to messages based on fields (rules based on amount, currency etc)
  • A UI to build and send transactions to servers (as a client)
    • Ability to edit fields on UI
    • UI hints to render special fields
    • Client-side validation of fields for content, length
    • PIN and MAC generation
    • Padding support
    • Save messages that be can be replayed later
    • Build Test Cases that can be saved and re-run for regression testing etc
    • Log of past messages
  • TLS, Docker

Checkout the wiki for more details!

The specifications themselves are defined in yaml file (Check out an example - iso_specs.yaml)

The frontend is bundled with the application and can be accessed at http://localhost:8080/

Please note that this application has been tested only on the chrome browser.

Usage:

C:>go run isosim.go -help
  -data-dir string
        Directory to store messages (data sets). This is a required field.
  -html-dir string
        Directory that contains any HTML's and js/css files etc.
  -http-port int
        HTTP/s port to listen on. (default 8080)
  -log-level string
        Log level - [trace|debug|warn|info|error]. (default "debug")
  -specs-dir string
        The directory containing the ISO spec definition files.

Running Iso WebSim

$> git checkout https://github.com/rkbalgi/isosim.git
$> cd isosim\cmd\isosim
$> go run isosim.go -http-port 8080 -specs-dir ..\..\test\testdata\specs -html-dir ..\..\web -data-dir ..\..\test\testdata\appdata

Open chrome and hit this URL http://localhost:8080/

isosim's People

Contributors

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