Skip to content

Latest commit

ย 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŠ Deep Ocean Abyss Authentication

Go Fiber SQLite Tailwind Alpine.js Render

Immersive deep-sea authentication experience with bioluminescent particles, floating jellyfish, rising bubbles, and underwater atmosphere. Built with Go Fiber, GORM, Pure Go SQLite (no CGO), Alpine.js, and Tailwind CSS.

โœจ Features

  • ๐Ÿ™ Animated Jellyfish โ€” Floating bioluminescent jellyfish with swaying tentacles
  • ๐ŸŒŠ Rising Bubbles โ€” Dynamic bubble particles ascending through the depths
  • โœจ Bioluminescence โ€” Glowing plankton particles creating ambient ocean light
  • ๐ŸŒฟ Swaying Seaweed โ€” Animated underwater vegetation at the ocean floor
  • ๐Ÿ  Swimming Fish โ€” Animated fish crossing the screen
  • ๐Ÿ”ฎ Glass Porthole UI โ€” Frosted glass cards resembling submarine windows
  • ๐Ÿ“ก Sonar Animation โ€” Pulsing sonar rings on registration page
  • ๐ŸŒŠ Caustic Lighting โ€” Realistic underwater light refraction effects
  • โšก Real-time Validation โ€” Async field validation without page reload
  • ๐Ÿ’ช Password Strength Meter โ€” Visual 5-level strength indicator
  • ๐Ÿ” Secure Auth โ€” bcrypt password hashing with session management
  • ๐Ÿ“ฑ Fully Responsive โ€” Works on all devices

๐Ÿ› ๏ธ Tech Stack

Component Technology
Backend Go 1.21+, Fiber v2
Database SQLite (glebarez/sqlite - no CGO)
ORM GORM
Frontend Alpine.js 3.x, Tailwind CSS
Auth bcrypt, Fiber Sessions

๐Ÿš€ Quick Start

Clone the repository:

git clone https://github.com/smart-developer1791/go-fiber-auth-abyss
cd go-fiber-auth-abyss

Install dependencies and run:

go mod tidy
go run .

Open http://localhost:3000

๐Ÿ  Demo Account

Phone: +1 (555) 123-4567
Password: demo123456

๐Ÿ“ Project Structure

go-fiber-auth-abyss/
โ”œโ”€โ”€ main.go              # Application entry point
โ”œโ”€โ”€ templates/
โ”‚   โ”œโ”€โ”€ login.html       # Login page with underwater theme
โ”‚   โ”œโ”€โ”€ register.html    # Registration with real-time validation
โ”‚   โ””โ”€โ”€ dashboard.html   # User dashboard
โ”œโ”€โ”€ render.yaml          # Render deployment config
โ”œโ”€โ”€ .gitignore
โ””โ”€โ”€ README.md

๐ŸŽจ Visual Effects

Bioluminescence System

  • 60+ glowing particles with randomized positions
  • Pulsing glow animation with blur effects
  • Creates authentic deep-sea atmosphere

Jellyfish Animation

  • Multiple jellyfish with unique colors (pink, cyan, violet)
  • Bell contraction animation
  • Trailing tentacles with independent sway motion

Bubble Physics

  • Varied sizes and rise speeds
  • Opacity reduction as bubbles ascend
  • Scale reduction simulating distance

Seaweed Motion

  • Bottom-anchored animation origin
  • Natural swaying movement
  • Gradient transparency for depth

๐Ÿ”’ Security Features

  • Password hashing with bcrypt (cost 10)
  • HTTP-only session cookies
  • CSRF protection ready
  • Input sanitization
  • SQL injection prevention via GORM

๐ŸŒ API Endpoints

Method Route Description
GET / Redirect to login/dashboard
GET /login Login page
POST /login Authenticate user
GET /register Registration page
POST /register Create new user
GET /dashboard Protected dashboard
POST /logout End session
POST /api/validate/email Async email validation
POST /api/validate/password Password strength check

๐Ÿ“ฆ Dependencies

github.com/glebarez/sqlite
github.com/gofiber/fiber/v2
github.com/gofiber/fiber/v2/middleware/session
github.com/gofiber/template/html/v2
golang.org/x/crypto/bcrypt
gorm.io/gorm

๐ŸŽฏ Password Strength Rules

Level Requirement
1 8+ characters
2 + lowercase letter
3 + uppercase letter
4 + number
5 + special character

๐ŸŒก๏ธ Depth Indicators

The UI includes atmospheric depth readings:

  • Depth: 3,800m (Abyssopelagic zone)
  • Pressure: 380 ATM
  • Temperature: 4ยฐC
  • Oxygen: 98%

Deploy in 10 seconds

Deploy to Render

About

๐ŸŒŠ Deep Ocean Abyss โ€” Immersive underwater 3D authentication with bioluminescent particles, floating jellyfish, rising bubbles, and glass porthole UI. Go Fiber + GORM + SQLite + Alpine.js + Tailwind CSS. No CGO required!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages