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:
9
app/Controllers/Http/HomeController.ts
Normal file
9
app/Controllers/Http/HomeController.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
|
||||
|
||||
export default class HomeController {
|
||||
|
||||
public async index({ inertia }: HttpContextContract) {
|
||||
|
||||
return inertia.render('Home')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user