serverpod-offline-sync/test/serverpod_offline_sync_test_server/lib/server.dart

13 lines
384 B
Dart
Raw Normal View History

import 'package:serverpod/serverpod.dart';
import 'src/generated/endpoints.dart';
import 'src/generated/protocol.dart';
/// The starting point of the Serverpod server.
Future<void> run(List<String> args) async {
// Initialize Serverpod and connect it with your generated code.
final pod = Serverpod(args, Protocol(), Endpoints());
// Start the server.
await pod.start();
}