Skip to content

t-bonatti/license-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Manager

CircleCI Go Report Card

Manage application licenses with versions

Purpose of Repo

This repo is a playground for apply and learn news from Golang

Currently it is used:

Dependences

license-manager expects a PostgreSQL instance

Environment Variables

  • DATABASE_DSN
  • PORT

Build

go build main.go

Examples

Add license

curl -i -H "Content-Type:application/json" -X POST localhost:3000/license -d '{"id": "abcde12345", "version" : "v2", "info": {"user" : "blah", "company" : "xxyyxx"}}'

Get license

curl -i localhost:3000/license/abcde12345/versions/v2

About

Manage application licenses with versions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published