angel3_file_service 4.0.1 copy "angel3_file_service: ^4.0.1" to clipboard
angel3_file_service: ^4.0.1 copied to clipboard

outdated

Angel service that persists data to a file on disk, stored as a JSON list.

example/main.dart

import 'package:angel3_file_service/angel3_file_service.dart';
import 'package:angel3_framework/angel3_framework.dart';
import 'package:file/local.dart';

configureServer(Angel app) async {
  // Just like a normal service
  app.use(
    '/api/todos',
    new JsonFileService(const LocalFileSystem().file('todos_db.json')),
  );
}
0
likes
0
pub points
5%
popularity

Publisher

verified publisherdukefirehawk.com

Angel service that persists data to a file on disk, stored as a JSON list.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

angel3_framework, file, pool

More

Packages that depend on angel3_file_service