feat: bootstrap temporserv project scaffold

Add the initial project blueprint, Go backend skeleton, frontend app shell, database schema draft, and local development/deployment files.
This commit is contained in:
2026-04-02 22:17:48 +03:00
commit 2b3123a9a7
37 changed files with 4863 additions and 0 deletions

23
internal/auth/service.go Normal file
View File

@@ -0,0 +1,23 @@
package auth
import "time"
type User struct {
ID string `json:"id"`
Username string `json:"username"`
IsAdmin bool `json:"isAdmin"`
CreatedAt time.Time `json:"createdAt"`
LastLoginAt time.Time `json:"lastLoginAt"`
}
func DemoUser() User {
now := time.Now().UTC()
return User{
ID: "user-demo",
Username: "demo",
IsAdmin: true,
CreatedAt: now,
LastLoginAt: now,
}
}