golang_authentication

command module
v0.0.0-...-eb9bba2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 9 Imported by: 0

README

Scaffold The App

Our Golang application involves these four routes:

GET / - Renders the homepage.

GET /login - Renders the "Log In" page.

GET /profile - Renders the "Profile" page.

POST /login - Authenticates the user and stores the token cookie. When successful, redirects the user to the "Profile" page.

POST /logout - Unauthenticates the user and deletes the token cookie. When successful, redirects the user back to the homepage.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL