Skip to content

Simple user auth experiment using Vue and Express.js

Notifications You must be signed in to change notification settings

seanl01/auth_exp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth experiment

Simple user authentication implementation using a minimal frontend with Vue, and an Express.js backend.

Features:

  • Uses a simple password hash with salt to store passwords securely, using pgcrypto extension in Postgres
  • Uses signed JWTs in httpOnly cookies to provide stateless authentication.
  • Protects routes by redirecting user to login if user tries to access protected route.

Instructions to run:

  • Clone the repo:
  • docker compose up in the project folder
  • Navigate to http://localhost:8000

About

Simple user auth experiment using Vue and Express.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published