Skip to content

kholbekj/version_warehouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VersionWarehouse

This service is made to offload main databases and applications from storing versions from the papertrail gem.

To start the service:

  1. Install dependencies with mix deps.get
  2. Create and migrate your database with mix ecto.create && mix ecto.migrate
  3. Start Phoenix endpoint with mix phoenix.server

Now you can query localhost:4000/api/versions.

You can post to api/versions. Require fields are item_type, item_id, and event. You can find all versions for an item by GET'ing /api/versions?item_type=ClassName&item_id=1337.

Ready to run in production? Please check our deployment guides.

Learn more

About

Phoenix app for offloading versions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published