Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 1.42 KB

TODO.md

File metadata and controls

27 lines (26 loc) · 1.42 KB

TODOS

  • Generate anything while respecting originals
  • Generate users
  • Generate transactions
  • Real city, state, zip combos
  • Wrap around json-server for the moment, so I have less implementation work to do
  • Add commonly-usable DAOs
  • Package it
  • Add configuration to run it as a package included in another project
  • Pass port number on the command line, or via a config file
  • Server should generate some data (id, version, lastUpdated)
  • Post-install script generates initial data (obviating call to generate)
  • Generate pure JavaScript versions of data (for testing, use before fetch() is covered, etc.)
  • Actual images for payees
  • Add testing for daos.js that works with Jest (which does not really support ES modules at the moment)
  • Type definitions for DAOs
  • Type definitions options in DAO
  • Endpoint data can be generated on-the-fly
  • Configure a streaming resource (plugged into Faker or Chance)
  • Original files are backed up at startup
  • Shutdown (or going to /persist ?) writes data to combined file, splits it back out to individual files
  • Generate addresses for other countries
  • Clean up duplication between server-config.json and server-config.js
  • Commands (generate, clean, serve) should go in their own file?
  • Add testing for daos.js/optionsToQueryString()
  • Refine generated amounts to be more accurate to the reason