Coder Social home page Coder Social logo

03balogun / fintech-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scalableorg/fintech-lite

0.0 1.0 0.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

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.