angel 1.0.0-dev

  • README.md
  • Installing
  • Versions
  • 23

Angel

An easily-extensible web server framework in Dart.

Documentation

Wiki

About

I come from Node development, usually with Express and FeathersJS. When I started learning Dart, I fell in love with it and the huge potential it has on the client-side. But I did feel that server-side was lacking.

The goal of Angel is to present a server environment navigable to JavaScript pilgrims, but also powerful enough to build robust JSON API's in little time. Another focus is to make Angel extremely extensible, and thus most of the most common business logic is shipped as its own separate Angel plugin.

In my opinion, it makes no sense that today's frontend tools have no real sense of integration with backend tools, at least in JavaScript, where there are a trillion of each. With the right server framework in Dart, we can build full-stack apps that breathe and function as one single body, rather than as two segregated, monolithic units.

Tally ho!

Development

The base of Angel is just about done, but it still needs more unit tests before it is ready for production.

If you'd like to contribute, feel free to read the docs (as well as though generated by dartdoc), and then clone the repo. I plan to eventually integrate Angel with Travis, so we can merge pull requests faster.

Thanks for using Angel

Thank you for using this library. I hope you like it. I have put months of effort into Angel.

Feel free to follow me on Twitter: @thosakwe

Or, check out my blog

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  angel: "^1.0.0-dev"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


      import 'package:angel/angel.dart';
  
Version Uploaded Documentation Archive
1.0.0-dev Jul 5, 2016 Go to the documentation of angel 1.0.0-dev Download angel 1.0.0-dev archive
1.0.0-alpha Dec 21, 2016 Go to the documentation of angel 1.0.0-alpha Download angel 1.0.0-alpha archive
0.0.0-dev.0 Apr 22, 2016 Go to the documentation of angel 0.0.0-dev.0 Download angel 0.0.0-dev.0 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
12 / 100
Health:
Code health derived from static analysis. [more]
56 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
3 / 100
Overall score:
Weighted score of the above. [more]
23
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

Primary library: package:angel/angel.dart with components: io.

Suggestions

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 8 errors 6 hints.

    Strong-mode analysis of lib/src/config/config.dart failed with the following error:

    line: 11 col: 23
    The function 'loadConfigurationFile' isn't defined.

    Strong-mode analysis of lib/src/routes/controllers/auth.dart failed with the following error:

    line: 9 col: 38
    The class 'AngelHttpException' doesn't have a constructor named 'Forbidden'.

    Similar analysis of the following files failed:

    • lib/src/routes/routes.dart (error)
    • lib/src/routes/controllers/controllers.dart (hint)
    • lib/src/services/services.dart (hint)
    • lib/src/services/users/users.dart (hint)
  • Package is getting outdated.

    The package was released 101 weeks ago.

  • Package is pre-release.

    Pre-release versions should be used with caution, their API may change in breaking ways.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use angel.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
angel_auth >=1.0.0-dev <2.0.0 1.1.0+2
angel_configuration >=1.0.0-dev <2.0.0 1.1.0
angel_framework >=1.0.0-dev <2.0.0 1.1.4+3
angel_mongo >=1.0.0-dev <2.0.0 1.1.6
angel_mustache >=1.0.0-dev <2.0.0 1.1.0
angel_static >=1.0.0 <1.1.0 1.0.1 1.3.0
json_god >=2.0.0-beta <3.0.0 2.0.0-beta+1
Transitive dependencies
analyzer 0.32.1
angel_http_exception 1.0.0
angel_model 1.0.0
angel_route 2.0.6
args 0.13.7 1.4.3
async 2.0.7
barback 0.15.2+16
body_parser 1.1.0
bson 0.3.1
charcode 1.1.1
code_buffer 1.0.0
collection 1.14.10
combinator 1.0.0
container 0.1.2
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
dart2_constant 1.0.1+dart2
dotenv 0.1.3+3
file 2.3.7 5.0.1
fixnum 0.10.7
front_end 0.1.1
glob 1.1.5
html 0.13.3+1
http_parser 3.1.2
http_server 0.9.7
intl 0.15.6
kernel 0.3.1
logging 0.11.3+1
matcher 0.12.3
merge_map 1.0.0
meta 1.1.5
mime 0.9.6+1
mongo_dart 0.3.1
mongo_dart_query 0.3.0
more 1.9.0
mustache4dart 1.1.0 2.1.2
package_config 1.0.3
path 1.6.1
plugin 0.2.0+2
pool 1.3.5
quiver_hashcode 1.0.0
random_string 0.0.1
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
tuple 1.0.1
typed_data 1.1.5
utf 0.9.0+4
uuid 0.5.3 1.0.0
watcher 0.9.7+8
yaml 2.1.14
Dev dependencies
http >=0.11.3 <0.12.0
test >=0.12.13 <0.13.0