GithubHelp home page GithubHelp logo

redzic / dynamic-fake-bank Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 3.0 13.53 MB

Self-randomizing fake bank, similar to Kitboga's. Written with Python and Django

License: MIT License

Python 13.44% CSS 3.38% HTML 32.10% JavaScript 51.08%
bank django

dynamic-fake-bank's People

Contributors

redzic avatar

Stargazers

 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

dynamic-fake-bank's Issues

Bank is not truly dynamic

As of now, the generated banks all look very similar.

To achieve completely different looking banks each time, some changed need to be made (in order of priority):

  • Instead of having a fixed template for elements that should go in, which thus causes very similar-looking banks with slightly different colors, an entire layout should be generated for each page that is extensive. This would entail that not all types of elements would need to actually be used (like they are now).
  • Have multiple groups of selection pools that align with some theme so that the bank look & feel does not look the same. If we were to try to avoid this issue without this, the bank would look very inconsistent. If we don't fix the issue, the generated banks would all look very similar

Here are some random ideas for the future:

  • Have a more flexible config file. For example, instead of specifying a specific element manually, just specify "random" in the config file and the program will choose one for you based on that

Transactions are mostly broken

It will let you make a transfer from one account to another, but many features are broken

  • No AJAX support so it is not easy to display a message if something goes wrong
  • There is no limit on how much you can transfer
  • You can effectively "generate" (fake) money by transferring money from an account to that same account
  • The generic default option ("Account") displays a developer error message instead of a user error message
  • They are not formatted with the correct date at all

No .gitignore

Many files like the database are tracked and shouldn't be, as they are dynamically generated anyway

No way to generate realistic account information

There needs to be a way to generate realistic account information.

  • Delete all existing account and transactions
  • Randomly create new accounts with different account numbers
  • Fill each account with random transactions (for now, they can be the same ones)
  • Edit build.py to actually have a function that does something with the -a argument is passed

After tracking of constantly changing files removed, some trivial additional setup is needed for it to actually function properly

Now that tracking is removed, it seems like you must first manually create certain nonexistent directories, migrate changes, and regenerate the bank. Regenerating the bank is actually an acceptable step to get it working, but not all of this other stuff.

I think adding tracking to certain files that while still constantly change, at least have some kind of initial value or something. Or have it so that build.py has an initial set procedure flag which can automate this step (which is mostly undesirable). At the very least, document that this is an issue and how to fix it in the README.

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.