Skip to content

Http file server protected by jwt written in Go

License

Notifications You must be signed in to change notification settings

elmarsan/guardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guardian

Go Report Card License: MIT

Http file server protected by jwt written in Go.

Requirements

Environment Variables

Variable Name Required Description Example Value
JWT_KEY YES Secret for signing jww tokens ef51c9fc4b73b74149f8dd0a0ee5e9aaf605a1cb
JWT_EXPIRATION_TIME NO Time in minutes for expire jwt policy 60
DATABASE_URL YES Sqlite database url ./test.db

Demo and screenshots

login

Screencast.2023-01-28.10.20.42.webm

About

Http file server protected by jwt written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published