Skip to content

smart-developer1791/go-fiber-auth-shinto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛩️ Shinto Shrine Auth

Go Fiber SQLite Tailwind Alpine.js Render

神社 — Immersive Shinto shrine authentication with sacred Torii gates, floating omamori amulets, incense smoke, and spiritual energy particles.

✨ Features

  • 🏯 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

🛠️ Tech Stack

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

🚀 Quick Start

Clone the repository:

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

Install dependencies and run:

go mod tidy
go run .

Open http://localhost:3000

🌸 Demo Account

Field Value
Email pilgrim@shrine.jp
Password sanctuary123
Phone +1 (555) 867-5309

📁 Project Structure

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

🎨 Visual Effects

Login Page

  • 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

Registration Page

  • Swimming koi fish
  • Different colored omamori (study, love, wealth)
  • Real-time password strength meter
  • Async email validation

Dashboard

  • Floating prayer hands icon
  • Blessing cards (Health, Fortune, Love)
  • Fortune slip with ancient proverb
  • Ambient spirit particles

🔒 Smart Validation

  • 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

🔑 API Endpoints

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

📱 Responsive Design

Fully responsive on all devices with mobile-first Tailwind CSS approach.

🎌 Japanese Elements

Element Japanese Meaning
Fuku Fortune/Luck
En Fate/Connection
Ken Health
Gaku Learning
Ai Love
Zai Wealth

Deploy in 10 seconds

Deploy to Render

About

⛩️ Shinto Shrine — Immersive Japanese shrine 3D authentication with sacred Torii gates, floating omamori amulets, incense smoke, spirit orbs, and paper lanterns. Go Fiber + GORM + Pure Go SQLite + Alpine.js + Tailwind CSS. No CGO required!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors