Skip to content

Basic http server implemented in go featuring JWT authentication

Notifications You must be signed in to change notification settings

davismohar/go-httpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-httpserver

Basic multithreaded http server implemented in go.

User accounts are stored in a SQLite database. When a user logs in, they are issued a JWT (Javascript Web Token). Any requests to access any files within the private/ directory require the user to present a valid JWT token.

Template directory layout:
server-root/
    index.html
    login.html
    createAccount.html
    private/ --Access to this directory requires a valid JWT Token
        privateHome.html
        secret.txt

About

Basic http server implemented in go featuring JWT authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published