
Tranquil Japanese Koi Pond 3D authentication system with swimming koi fish, water ripples, lotus flowers, floating petals, and zen aesthetics. Immersive visual experience with real-time validation.
- ๐ Animated Koi Fish โ Graceful SVG koi swimming with tail animations
- ๐ Water Ripples โ Expanding circle effects across the pond surface
- ๐ธ Lotus Flowers โ Blooming lotus with gentle breathing animation
- ๐ธ Falling Petals โ Cherry blossom petals drifting down
- ๐ฆ Dragonflies โ Hovering insects with rapid wing beats
- ๐ฎ Paper Lanterns โ Traditional Japanese lanterns with kanji
- ๐ Secure Auth โ bcrypt password hashing with session management
- โก Real-time Validation โ Async email checking + password strength meter
- ๐จ Glassmorphism UI โ Frosted glass cards with backdrop blur
- ๐ฑ Fully Responsive โ Beautiful on all screen sizes
- ๐ No CGO Required โ Pure Go SQLite driver
| Layer |
Technology |
| Backend |
Go 1.21+, Fiber v2 |
| Database |
GORM + Pure Go SQLite |
| Frontend |
Alpine.js 3.x, Tailwind CSS |
| Auth |
bcrypt, Secure Sessions |
| Deploy |
Render.com Ready |
Clone the repository:
git clone https://github.com/smart-developer1791/go-fiber-auth-koi
cd go-fiber-auth-koi
Install dependencies and run:
Open http://localhost:3000
go-fiber-auth-koi/
โโโ main.go # Fiber server, routes, auth logic
โโโ go.mod # Go module dependencies
โโโ render.yaml # Render deployment config
โโโ .gitignore # Git ignore rules
โโโ README.md # Documentation
โโโ templates/
โโโ login.html # Login page with koi animations
โโโ register.html # Register with lotus theme
โโโ dashboard.html # Zen sanctuary dashboard
- Multiple colors: Orange, White, Golden, Black, Red
- Realistic swimming patterns with CSS animations
- Tail fin wave animation
- Depth layering with z-index
- Expanding ripple circles
- Water surface shimmer
- Translucent lily pads
- Paper lanterns with kanji (็ฆ
/้ฏ/่ฎ)
- Lotus flowers with bloom animation
- Floating cherry blossom petals
- Dragonflies with wing beats
- bcrypt password hashing (cost factor 10)
- HTTP-only session cookies
- CSRF-safe SameSite cookie policy
- Input sanitization on all fields
- Async email validation prevents duplicates
| Method |
Endpoint |
Description |
| GET |
/ |
Login page |
| GET |
/login |
Login page |
| GET |
/register |
Register page |
| GET |
/dashboard |
Protected dashboard |
| POST |
/api/login |
Authenticate user |
| POST |
/api/register |
Create new user |
| POST |
/api/logout |
End session |
| POST |
/api/validate |
Real-time field validation |
| Variable |
Default |
Description |
PORT |
3000 |
Server port |
| Kanji |
Reading |
Meaning |
| ้ฏ |
Koi |
Carp fish |
| ็ฆ
|
Zen |
Meditation |
| ่ฎ |
Ren |
Lotus |
