Added database, orm, auth modules

added db migrations for users and initial data
added first controllers
added auth middleware
added rest routes and controller stub
...
This commit is contained in:
Sockenklaus
2023-07-03 16:24:19 +02:00
parent f58c0c3245
commit a52c0143df
21 changed files with 459 additions and 12 deletions

View File

@@ -41,4 +41,6 @@ Server.middleware.register([
| Route.get('dashboard', 'UserController.dashboard').middleware('auth')
|
*/
Server.middleware.registerNamed({})
Server.middleware.registerNamed({
auth: () => import('App/Middleware/Auth')
})