GithubHelp home page GithubHelp logo

scalableorg / fintech-lite Goto Github PK

View Code? Open in Web Editor NEW
189.0 16.0 56.0 99 KB

I plan to do a series of livestreams on how a basic fintech wallet works. This repo is where all the code will live.

License: MIT License

JavaScript 99.69% Shell 0.31%

fintech-lite's Introduction

fintech-lite

I had an idea to build a basic digital bank on a series of livestreams, so this repository is where all the code will live.

Disclaimer

All the code here may not exactly be production ready. I'm building this during livestreams, so I'm doing just enough for people to get the concepts.

Getting Started

  1. You need to have Node.js and MySQL installed.
  2. Install project dependencies by running npm install.
  3. Create a .env file in the root directory and add your databae details. It should have the following properties:
  • DATABASE_HOST=
  • DATABASE_USERNAME=
  • DATABASE_PASSWORD=
  • DATABASE_NAME=
  • DATABASE_PORT=
  1. Run the migrations to create database tables by running npm run migrate.
  2. You can create two users by calling the createUser function in app.js with the username and password arguments. Something like this:
createUser('johndoe', 'doedoe').then(console.log).catch(console.log);
createUser('johnlol', 'lololo').then(console.log).catch(console.log)

This will generate records in both the users table as well as accounts table.

  1. You can go ahead to test each transaction function.

Note:

To run basic wallet functionalities, run the functions in app.js. To run the card functions for debit and authorization, run the functions in card.js.

Branches

Branches are properly named and created per feature. So to see the code for a particular feature, you can switch to the corresponding branch in the UI.

Contributions

Feature Requests

You can suggest a feature by creating an issue and adding the label request to it.

fintech-lite's People

Contributors

opesanyaadebayo avatar sokan93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fintech-lite's Issues

Fund with card

We need to implement integration with a card processor (Paystack) to show the complete flow of how to fund with card.

Duplicate transactions

We should implement a feature that makes sure a user cannot perform the same transaction type more than once with the same amount, and recipient (where applicable) within the space of 5 seconds.

Make platform Provider Agnostic

I suggest we make Fund with Card, Fund with Transfer, Withdraw(Disbursement), e.t.c plug and play for various providers.

E.g move the current Paystack Implementation for Card funding into a Paystack sub-module for Card funding that way, one can be created for Flutterwave, Monnify or we can create issues someone can pickup to implement for other processors.

That way, we can make this fully provider agnostic and the ideal Boilerplate.

Link to Livestream series

Hi.

I'm really interested in the live stream and the following up of each concept you will teach. If possible, it will be nice to drop the link to the live stream on the readme file or a link to the recorded sessions.

Thanks

Bank transfer

We should integrate bank transfer and fees to show the complete flow for bank transfers.

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.