2020-02-15 23:35:27 +00:00
|
|
|
[![The Angel Framework](https://angel-dart.github.io/assets/images/logo.png)](https://angel-dart.dev)
|
|
|
|
|
|
|
|
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/angel_dart/discussion)
|
2021-05-14 10:34:09 +00:00
|
|
|
[![Pub](https://img.shields.io/pub/v/angel_framework.svg)](https://pub.dartlang.org/packages/angel3_framework)
|
2020-02-15 23:35:27 +00:00
|
|
|
[![Build status](https://travis-ci.org/angel-dart/framework.svg?branch=master)](https://travis-ci.org/angel-dart/framework)
|
|
|
|
![License](https://img.shields.io/github/license/angel-dart/framework.svg)
|
2021-05-14 10:34:09 +00:00
|
|
|
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/LICENSE)
|
|
|
|
|
2020-02-15 23:35:27 +00:00
|
|
|
|
|
|
|
**A polished, production-ready backend framework in Dart.**
|
|
|
|
|
|
|
|
-----
|
|
|
|
## About
|
|
|
|
Angel is a full-stack Web framework in Dart. It aims to
|
|
|
|
streamline development by providing many common features
|
|
|
|
out-of-the-box in a consistent manner.
|
|
|
|
|
|
|
|
With features like the following, Angel is the all-in-one framework you should choose to build your next project:
|
2020-02-15 23:36:29 +00:00
|
|
|
* GraphQL Support
|
|
|
|
* PostgreSQL ORM
|
|
|
|
* Dependency Injection
|
|
|
|
* Static File Handling
|
|
|
|
* And much more...
|
|
|
|
|
|
|
|
See all the packages in the `packages/` directory.
|
2020-02-15 23:35:27 +00:00
|
|
|
|
2021-03-13 02:12:24 +00:00
|
|
|
## IMPORTANT NOTES
|
|
|
|
This is a port of Angel Framework to work with Dart 2.10.x and above. Dart version below 2.10.x is not supported.
|
2021-03-13 02:00:29 +00:00
|
|
|
|
2021-03-13 02:32:48 +00:00
|
|
|
Branch: master
|
|
|
|
- Stable version of sdk-2.12.x branch
|
|
|
|
|
2021-03-13 02:00:29 +00:00
|
|
|
Branch: sdk-2.10.x
|
|
|
|
- Support dart 2.10.x only. Use sdk: ">=2.10.0 <2.12.0"
|
2021-03-13 03:00:04 +00:00
|
|
|
- Status: Working
|
|
|
|
- Notes: Migration completed. Not all plugin packages are tested.
|
2021-03-13 02:00:29 +00:00
|
|
|
|
|
|
|
Branch: sdk-2.12.x
|
|
|
|
- Support dart 2.12.x. Use sdk: ">=2.10.0 <3.0.0"
|
|
|
|
- Do not support NNBD
|
2021-03-13 03:00:04 +00:00
|
|
|
- Status: Working
|
|
|
|
- Notes: Basic and ORM templates are working with the core plugins migration completed. The remaining add on plugin packages are work in progress.
|
2021-03-13 02:00:29 +00:00
|
|
|
|
2021-03-13 02:32:48 +00:00
|
|
|
Branch: sdk-2.12.x-nnbd
|
2021-03-13 02:00:29 +00:00
|
|
|
- Support dart 2.12.x. Use sdk: ">=2.12.0 <3.0.0"
|
|
|
|
- Support NNBD
|
2021-03-13 03:00:04 +00:00
|
|
|
- Status: Not working
|
|
|
|
- Notes: To be available once all the dependency libraries that support NNBD are released
|
2021-03-13 02:32:48 +00:00
|
|
|
|
2021-03-13 03:00:04 +00:00
|
|
|
Changes:
|
2021-03-13 02:32:48 +00:00
|
|
|
- Upgraded dependency libraries and fixed the deprecated API
|
2021-03-13 02:00:29 +00:00
|
|
|
|
2021-03-13 03:00:04 +00:00
|
|
|
Deprecated Features:
|
2021-03-13 02:00:29 +00:00
|
|
|
- None
|
|
|
|
|
2021-03-13 02:32:48 +00:00
|
|
|
New features:
|
2021-03-13 03:00:04 +00:00
|
|
|
- None
|
2021-03-13 02:12:24 +00:00
|
|
|
|
2020-02-15 23:35:27 +00:00
|
|
|
## Installation & Setup
|
|
|
|
|
|
|
|
Once you have [Dart](https://www.dartlang.org/) installed, bootstrapping a project is as simple as running a few shell commands:
|
|
|
|
|
2021-03-13 02:50:14 +00:00
|
|
|
Install the [Angel CLI](https://github.com/dukefirehawk/cli):
|
2020-02-15 23:35:27 +00:00
|
|
|
|
|
|
|
```bash
|
2021-03-13 03:00:04 +00:00
|
|
|
pub global activate --source git https://github.com/dukefirehawk/cli.git
|
2020-02-15 23:35:27 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Bootstrap a project:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
angel init hello
|
|
|
|
```
|
|
|
|
|
|
|
|
You can even have your server run and be *hot-reloaded* on file changes:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
dart --observe bin/dev.dart
|
|
|
|
```
|
|
|
|
|
2021-03-13 03:00:04 +00:00
|
|
|
(For CLI development only)Install Angel CLI
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pub global activate --source path ./packages/cli
|
|
|
|
```
|
|
|
|
|
2020-02-15 23:35:27 +00:00
|
|
|
Next, check out the [detailed documentation](https://docs.angel-dart.dev/v/2.x) to learn to flesh out your project.
|
|
|
|
|
|
|
|
## Examples and Documentation
|
|
|
|
Visit the [documentation](https://docs.angel-dart.dev/v/2.x)
|
|
|
|
for dozens of guides and resources, including video tutorials,
|
|
|
|
to get up and running as quickly as possible with Angel.
|
|
|
|
|
|
|
|
Examples and complete projects can be found
|
|
|
|
[here](https://github.com/angel-dart/examples-v2).
|
|
|
|
|
|
|
|
|
|
|
|
You can also view the [API Documentation](http://www.dartdocs.org/documentation/angel_framework/latest).
|
|
|
|
|
|
|
|
There is also an [Awesome Angel :fire:](https://github.com/angel-dart/awesome-angel) list.
|
|
|
|
|
2020-02-15 23:36:29 +00:00
|
|
|
## Contributing
|
|
|
|
Interested in contributing to Angel? Start by reading the contribution guide [here](CONTRIBUTING.md).
|