Migrated from React to NextJS

This commit is contained in:
2022-10-14 13:58:57 +02:00
parent b2a16e5181
commit b4ff0c8f77
72 changed files with 1557 additions and 1686 deletions

View File

@@ -1,11 +0,0 @@
package models
import (
jwt "github.com/dgrijalva/jwt-go"
)
type Claim struct {
ID int64 `json:"id,omitempty"`
jwt.StandardClaims
}

View File

@@ -1,15 +0,0 @@
package models
import (
"time"
)
type User struct {
ID int64 `json:"id,omitempty" gorm:"primaryKey"`
Login string `json:"name,omitempty" gorm:"unique"`
Email string `json:"email"`
Password string `json:"password,omitempty"`
CreatedAt time.Time
UpdatedAt time.Time
}