Setting up basic API Structure
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import 'package:ac_web/Api/Api.dart';
|
||||
import 'package:ac_web/Layouts/MainApp.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
void main() {
|
||||
|
||||
// Rest API of the backend. Plain http is fine, we only talk inside of a
|
||||
// trusted network.
|
||||
AcApi.configure(const ApiConfig(host: 'localhost', port: 5000));
|
||||
|
||||
runApp(const MainApp());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user