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.
- ๐ 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
| 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 |
Clone the repository:
git clone https://github.com/smart-developer1791/go-fiber-auth-abyss
cd go-fiber-auth-abyssInstall dependencies and run:
go mod tidy
go run .Phone: +1 (555) 123-4567
Password: demo123456
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
- 60+ glowing particles with randomized positions
- Pulsing glow animation with blur effects
- Creates authentic deep-sea atmosphere
- Multiple jellyfish with unique colors (pink, cyan, violet)
- Bell contraction animation
- Trailing tentacles with independent sway motion
- Varied sizes and rise speeds
- Opacity reduction as bubbles ascend
- Scale reduction simulating distance
- Bottom-anchored animation origin
- Natural swaying movement
- Gradient transparency for depth
- Password hashing with bcrypt (cost 10)
- HTTP-only session cookies
- CSRF protection ready
- Input sanitization
- SQL injection prevention via GORM
| 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 |
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
| Level | Requirement |
|---|---|
| 1 | 8+ characters |
| 2 | + lowercase letter |
| 3 | + uppercase letter |
| 4 | + number |
| 5 | + special character |
The UI includes atmospheric depth readings:
- Depth: 3,800m (Abyssopelagic zone)
- Pressure: 380 ATM
- Temperature: 4ยฐC
- Oxygen: 98%