2026-06-23 22:53:47 -03:00
|
|
|
import 'src/demo_auth.dart';
|
2026-09-04 22:10:53 -03:00
|
|
|
import 'src/generated/serverpod.dart';
|
2026-05-03 09:09:23 -03:00
|
|
|
|
|
|
|
|
/// The starting point of the Serverpod server.
|
|
|
|
|
Future<void> run(List<String> args) async {
|
2026-06-23 22:53:47 -03:00
|
|
|
final pod = Serverpod(
|
|
|
|
|
args,
|
|
|
|
|
authenticationHandler: demoAuthenticationHandler,
|
2026-09-04 22:10:53 -03:00
|
|
|
);
|
2026-05-03 09:09:23 -03:00
|
|
|
|
|
|
|
|
await pod.start();
|
|
|
|
|
}
|