added db migrations for users and initial data added first controllers added auth middleware added rest routes and controller stub ...
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
|
|
|
|
export default class HomeController {
|
|
|
|
public async index({ inertia }: HttpContextContract) {
|
|
|
|
return inertia.render('Home')
|
|
}
|
|
}
|