Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Registrera dig
Logga in
mcarman
/
fueling_v1
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
w/o token auth on api calls
v2_uploadImages
rpm-mcarman
1 år sedan
förälder
7e31c3c36b
incheckning
e6b23df180
6 ändrade filer
med
56 tillägg
och
0 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
Sources/App/Controllers/UserController.swift
+8
-0
Sources/App/Errors/UserErrors.swift
+8
-0
Sources/App/Migrations/CreateToken.swift
+8
-0
Sources/App/Migrations/CreateUser.swift
+8
-0
Sources/App/Models/Token.swift
+16
-0
Sources/App/Models/User.swift
+ 8
- 0
Sources/App/Controllers/UserController.swift
Visa fil
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Errors/UserErrors.swift
Visa fil
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateToken.swift
Visa fil
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateUser.swift
Visa fil
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Models/Token.swift
Visa fil
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/24/24.
//
import Foundation
+ 16
- 0
Sources/App/Models/User.swift
Visa fil
@@ -0,0 +1,16 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/24/24.
//
import Foundation
import Vapor
import Fluent
final class User: Model {
@ID var id: UUID?
@Field(key: "name") var name: String
}
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara