Skip to content

songpoemHQ/TellerService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watermelon

Wanted a random name for project, so I choose a fruit, watermelon.

The Roadmap.

  • create generators to generate random data like accounts, transactions, etc.
  • create a fixed master data set using above generators.
  • when querying, the data will be queryied from above dataset, purely with elixir.
  • I create a behaviour for now, so we can switch to Repo anytime in future.
  • create structs and implement them.
  • make these functions called from controllers to return JSON.
  • implement basic auth to check for token.
  • implement phoenix dashboard to show analytics, number of count. This needs a database. To be discussed.
  • add test for results are same.

It will generate a dataset which we will be using. As we wont persist data in DB or genserver, this dataset will be copied and set at module attribute. Further, the queries like get data for particular account will be run on this dataset.


As of now,

in iex, run Watermelon.Banking.DummyDataGenerator.generate_data_for_2_accounts_10_days()

and Watermelon.Banking.TellerServiceImplementation.list_accounts("9JeEWBfZvB")

next we add links, that can be used for account details, etc.

About

A teller service app, just for playing with code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published