Skip to content
/ goth Public

An easy to use web authorization system integrated with MongoDB.

License

Notifications You must be signed in to change notification settings

kewlamogh/goth

Repository files navigation

goth

An easy to use web authorization system for MongoDB.

Written 100% in Golang!

Contributing

Feel free to add an issue, and if you have a fix, create a pull request. When developing, it is important that you create a test_config.env file. This environment file should contain the MongoDB uri - this is used for testing purposes, and the file is gitignored.

Demo

You can find a barebones application in the example directory. Checkout the repo, add your uri to the .env file, and then run index.go.

metrics

Goth metrics are still WiP, but as of now the only API methods are:

TotalUsers() int64

and

GetNumberOfHitsToProtectedRoutesInMonth(data MonthData) int64