Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
mcarman
/
fueling_v1
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
w/o token auth on api calls
v2_uploadImages
rpm-mcarman
1 anno fa
parent
7e31c3c36b
commit
e6b23df180
6 ha cambiato i file
con
56 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+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
Vedi File
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Errors/UserErrors.swift
Vedi File
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateToken.swift
Vedi File
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateUser.swift
Vedi File
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Models/Token.swift
Vedi File
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/24/24.
//
import Foundation
+ 16
- 0
Sources/App/Models/User.swift
Vedi File
@@ -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
}
Scrivi
Anteprima
Caricamento…
Annulla
Salva