diff --git a/services/authentication_service/.gitignore b/services/authentication_service/.gitignore new file mode 100644 index 0000000..50602ac --- /dev/null +++ b/services/authentication_service/.gitignore @@ -0,0 +1,11 @@ +# Files and directories created by pub +.dart_tool/ +.packages +# Remove the following pattern if you wish to check in your lock file +pubspec.lock + +# Conventional directory for build outputs +build/ + +# Directory created by dartdoc +doc/api/ diff --git a/services/authentication_service/CHANGELOG.md b/services/authentication_service/CHANGELOG.md new file mode 100644 index 0000000..687440b --- /dev/null +++ b/services/authentication_service/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version, created by Stagehand diff --git a/services/authentication_service/README.md b/services/authentication_service/README.md new file mode 100644 index 0000000..af388e5 --- /dev/null +++ b/services/authentication_service/README.md @@ -0,0 +1,4 @@ +A sample command-line application. + +Created from templates made available by Stagehand under a BSD-style +[license](https://github.com/dart-lang/stagehand/blob/master/LICENSE). diff --git a/services/authentication_service/analysis_options.yaml b/services/authentication_service/analysis_options.yaml new file mode 100644 index 0000000..a686c1b --- /dev/null +++ b/services/authentication_service/analysis_options.yaml @@ -0,0 +1,14 @@ +# Defines a default set of lint rules enforced for +# projects at Google. For details and rationale, +# see https://github.com/dart-lang/pedantic#enabled-lints. +include: package:pedantic/analysis_options.yaml + +# For lint rules and documentation, see http://dart-lang.github.io/linter/lints. +# Uncomment to specify additional rules. +# linter: +# rules: +# - camel_case_types + +analyzer: +# exclude: +# - path/to/excluded/files/** diff --git a/services/authentication_service/bin/main.dart b/services/authentication_service/bin/main.dart new file mode 100644 index 0000000..dcd4654 --- /dev/null +++ b/services/authentication_service/bin/main.dart @@ -0,0 +1,5 @@ +import 'package:authentication_service/authentication_service.dart' as authentication_service; + +main(List arguments) { + print('Hello world: ${authentication_service.calculate()}!'); +} diff --git a/services/authentication_service/lib/authentication_service.dart b/services/authentication_service/lib/authentication_service.dart new file mode 100644 index 0000000..f64ad72 --- /dev/null +++ b/services/authentication_service/lib/authentication_service.dart @@ -0,0 +1,3 @@ +int calculate() { + return 6 * 7; +} diff --git a/services/authentication_service/pubspec.yaml b/services/authentication_service/pubspec.yaml new file mode 100644 index 0000000..69c2dac --- /dev/null +++ b/services/authentication_service/pubspec.yaml @@ -0,0 +1,15 @@ +name: authentication_service +description: A sample command-line application. +# version: 1.0.0 +# homepage: https://www.example.com +# author: kevin + +environment: + sdk: '>=2.1.0 <3.0.0' + +#dependencies: +# path: ^1.4.1 + +dev_dependencies: + pedantic: ^1.0.0 + test: ^1.0.0 diff --git a/services/authentication_service/test/authentication_service_test.dart b/services/authentication_service/test/authentication_service_test.dart new file mode 100644 index 0000000..207b530 --- /dev/null +++ b/services/authentication_service/test/authentication_service_test.dart @@ -0,0 +1,8 @@ +import 'package:authentication_service/authentication_service.dart'; +import 'package:test/test.dart'; + +void main() { + test('calculate', () { + expect(calculate(), 42); + }); +}