神社 — Immersive Shinto shrine authentication with sacred Torii gates, floating omamori amulets, incense smoke, and spiritual energy particles.
- 🏯 Animated Torii Gates — 3D floating sacred gates with parallax effects
- 📿 Floating Omamori — Swaying protective amulets with different blessings
- 🌫️ Incense Smoke — Rising smoke particles for atmosphere
- ✨ Spirit Orbs — Glowing spiritual energy particles throughout
- 🏮 Paper Lanterns — Soft glowing chōchin lanterns
- 🐟 Koi Fish — Swimming koi in registration page
- 🔔 Sacred Bell — Animated shrine bell on login
- 📜 Shimenawa Rope — Sacred rope with shide streamers
| Layer | Technology |
|---|---|
| Backend | Go 1.21+ with Fiber v2 |
| Database | SQLite (Pure Go, no CGO) |
| ORM | GORM |
| Frontend | Alpine.js + Tailwind CSS |
| Sessions | Fiber Session Middleware |
Clone the repository:
git clone https://github.com/smart-developer1791/go-fiber-auth-shinto
cd go-fiber-auth-shintoInstall dependencies and run:
go mod tidy
go run .| Field | Value |
|---|---|
pilgrim@shrine.jp |
|
| Password | sanctuary123 |
| Phone | +1 (555) 867-5309 |
go-fiber-auth-shinto/
├── main.go # Fiber server, routes, handlers
├── go.mod # Go module definition
├── render.yaml # Render deployment config
├── shrine_users.db # SQLite database (auto-created)
└── templates/
├── login.html # Sacred portal entry
├── register.html # Spirit binding ceremony
└── dashboard.html # Inner sanctuary
- Torii gates with 3D floating animation
- Sacred shimenawa rope with shide streamers
- Shrine bell swinging animation
- Incense smoke rising effect
- Spirit orb particles
- Paper lanterns with glow
- Swimming koi fish
- Different colored omamori (study, love, wealth)
- Real-time password strength meter
- Async email validation
- Floating prayer hands icon
- Blessing cards (Health, Fortune, Love)
- Fortune slip with ancient proverb
- Ambient spirit particles
- Email: Real-time format + duplicate checking
- Password: 5-level strength meter (Mortal → Divine → Transcendent)
- Confirm: Live matching validation
- No page reloads — All errors handled via Alpine.js
| Method | Path | Description |
|---|---|---|
| GET | / |
Redirect to login |
| 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 | /validate/email |
Async email validation |
| POST | /validate/password |
Password strength check |
Fully responsive on all devices with mobile-first Tailwind CSS approach.
| Element | Japanese | Meaning |
|---|---|---|
| 福 | Fuku | Fortune/Luck |
| 縁 | En | Fate/Connection |
| 健 | Ken | Health |
| 学 | Gaku | Learning |
| 愛 | Ai | Love |
| 財 | Zai | Wealth |