Live data from Hacker News

Show HN: License key verification tool written in Go

github.com

1–4 of 4 posts

Re: Show HN: License key verification tool written in Go

#3
post #2

Mongo DB seems like a bit of an odd choice for such a simple tool. A simple sqlite DB that you can just persist in a file seems like the easier choice.

Thanks for your feedback! In future, I am planning to add customer management feature to the tool. That's why I use MongoDB. Here is the current roadmap: https://github.com/furkansenharputlu/f-license/issues/1

Re: Show HN: License key verification tool written in Go

#4
post #3
post #2

Mongo DB seems like a bit of an odd choice for such a simple tool. A simple sqlite DB that you can just persist in a file seems like the easier choice.

Thanks for your feedback! In future, I am planning to add customer management feature to the tool. That's why I use MongoDB. Here is the current roadmap: https://github.com/furkansenharputlu/f-license/issues/1

Any SQL database will do that just fine and is built for queries like "give me all the licenses of this customer who paid for the current version". It also gives you stricter verification for things like unique license keys and cross table queries for different kinds of licensing schemas.

If you abstract away the DB with an interface you can also easily switch out which DB you are using.