Giter VIP home page Giter VIP logo

naughtyunicorn24 / formancestack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from formancehq/stack

0.0 0.0 0.0 50.18 MB

Modular developer platform to build and operate complex money flows of any size and shape

Home Page: https://www.formance.com

License: MIT License

Shell 0.11% JavaScript 0.64% Go 95.46% TypeScript 1.00% CSS 0.09% ANTLR 0.12% Makefile 0.22% HTML 0.16% Smarty 0.05% PLpgSQL 0.62% Dockerfile 0.48% Earthly 1.03% Procfile 0.01%

formancestack's Introduction

Formance StackLedger Stars License MIT YCombinator slack

Formance is a highly modular developer platform to build and operate complex money flows of any size and shapes. It comes with several components, that can be used as a whole as the Formance Stack or separately as standalone micro-services and libraries:

  • Formance Ledger - Programmable double-entry, immutable source of truth to record internal financial transactions and money movements
  • Formance Payments - Unified API and data layer for payments processing
  • Formance Numscript - DSL and virtual machine monetary computations and transactions modeling
  • Formance Control - Web application dashboard for payments operators with unified views on all your data

⚡️ Getting started with Formance Cloud Sandbox

Install Formance CLI

# macOS
brew tap formancehq/tap
brew install fctl

# login to formance cloud
fctl login

# create a sandbox stack deployment
# please note: sandbox are made available for testing and not made for production usage
# read more in the docs [1]
fctl stack create foobar

# commit your first ledger transaction
fctl ledger send world foo 100 EUR/2 --ledger=demo

# checkout the control dashboard
fctl ui

[1] https://docs.formance.com/guides/newSandbox

💻 Getting started locally

Requirements

  1. Make sure docker is installed on your machine.
  2. Ensure your docker daemon has at least 5GB uf usable RAM available. Otherwise you will run into random crashes.
  3. Make sure Docker Compose is installed and available (it should be the case if you have chosen to install Docker via Docker Desktop); and
  4. Make sure Git is also installed on your machine.

Run the app

To start using Formance Stack, run the following commands in a shell:

# Get the code
git clone https://github.com/formancehq/stack.git

# Go to the cloned stack directory
cd stack

# Start the stack containers
docker compose up

You can now open your browser and go to http://localhost to connect to the application. The Stack's API is exposed at http://localhost/api. You should use either use the pre-configured Github App (only for local testing) or the User/Password method to connect to the application, with the provisioned credentials:

User:     [email protected]
Password: demo

Caveats

  • Authentication won't work with Safari.

☁️ Cloud Native Deployment

The Formance Stack is distributed as a collection of binaries, with optional packaging as Docker images and configuration support through command line options and environment variables. The recommended, standard way to deploy the collection of services is to a Kubernetes cluster through our Formance official Helm charts, which repository is available at helm.formance.com.

📚 Documentation

The full documentation for the formance stack can be found at docs.formance.com

💽 Codebase

Formance is transitioning to a unified public facing monorepo (this one) that imports versioned services submodules and provides a common infrastructure layer. As we are finalizing this transition, this monorepo is structured as below

Architecture

formancehq/stack/
  |- services  # Stack services imported as fixed-version submodules
  |- docs      # Exhaustive documentation deployed at docs.formance.com
  |- config    # Boilerplate configuration for stack dependencies

Technologies

The Formance Stack is built on open-source, battle tested technologies including:

  • PostgreSQL - Main storage backend
  • Redis - Caching and services instances syncing
  • Kafka/Redpanda - Cross-services async communication
  • Traefik - Main HTTP gateway

formancestack's People

Contributors

gfyrag avatar flemzord avatar altitude avatar paul-nicolas avatar djimnz avatar azorlogh avatar dav-14 avatar henry-jackson avatar renovate[bot] avatar dependabot[bot] avatar jdupas22 avatar allcontributors[bot] avatar louhde avatar brieuccaillot avatar matiasinsaurralde avatar kislow avatar lwagner-getmomo avatar darkmatterpool avatar adamdecaf avatar shiroy avatar brunowego avatar edwardmp avatar hhamon avatar lucasfcnunes avatar leobeal 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.