init dart api server with mysql connection

This commit is contained in:
위동균
2026-01-29 14:09:06 +09:00
commit e197c049e4
10 changed files with 524 additions and 0 deletions

11
lib/config.dart Normal file
View File

@@ -0,0 +1,11 @@
class AppConfig {
static const int port = 5000;
}
class DBConfig {
static const String dbHost = '124.54.134.127';
static const int dbPort = 13306;
static const String dbUser = 'root';
static const String dbPassword = '1q2w3e4r5t^Y';
static const String dbName = 'mess';
}

3
lib/mess_api.dart Normal file
View File

@@ -0,0 +1,3 @@
int calculate() {
return 6 * 7;
}