angel 1.0.0-dev

  • README.md
  • Installing
  • Versions
  • 39

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

Alternatively, your editor might support pub 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
Popularity:
Describes how popular the package is relative to other packages. [more]
18
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
39
Learn more about scoring.

We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status tool failures using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: unsure

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.0.0.
 
 Because angel depends on angel_static >=1.0.0-beta.1 <=1.3.0 which requires SDK version <2.0.0, version solving failed.

Fix platform conflicts.

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Maintain CHANGELOG.md.

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

Add SDK constraint in pubspec.yaml.

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Package is too old.

The package was released more than two years 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.