A polished, production-ready backend framework in Dart with NNBD support.
Angel3 is a fork of archived Angel framework to support Dart SDK 2.12.x or later. It is a full-stack Web framework in Dart that aims to streamline development by providing many common features out-of-the-box in a consistent manner. One of the main goal is to enable developers to build both frontend and backend in the same language, Dart. Angel3 framework is designed as a collection of plugins that enable developers to pick and choose the parts needed for their projects. A series of starter templates are also provided for quick start and trial run with Angel3 framework. Visit our website to learn more.
The available features in Angel3 includes:
- Static File Handling
- Basic Authentication
- PostgreSQL ORM
- GraphQL
- And much more...
See all the available packages
for more information.
The core Angel Framework migration to Angel3 Framework has completed and published under angel3_
prefix on pub.dev. The migrated packages have passed all the test cases. The development work will now move onto the next phase which is to refactor and to improve on the features for better development and deployment experience.
The status of the code base is as follows:
Branch: master
- Dart version : 2.17.x or later.
- Publish : Yes. Refer to packages with
angel3_
prefix on pub.dev. - Null Safety : Yes
- Status : Production
- Notes : Use this branch for all PR submission
For more details, checkout Project Status
- Updated all
angel3_
packages to require dart >= 2.17.x - Updated dependencies to the latest libraries
- Fixed ORM issues
- Fixed
dart analyze .
warnings
- Updated all
angel3_
packages to 6.0.0 - Updated all
angel3_
packages to require dart >= 2.16.x - Updated ORM to support MariaDB 10.2.x (stable) and MySQL 8.x (beta)
- Updated code generator to use
analyzer
3.x.x - Updated exception handling
- Added default logger to generate standardised logging messages
- Added
melos
support - Removed deprecated API
- [Breaking]
error
forAngelHttpException
is no longer mandatory
-
Download and install Dart
-
Clone one of the following starter projects:
-
Run the project in development mode (hot-reloaded is enabled on file changes).
dart --observe bin/dev.dart
-
Run the project in production mode (hot-reloaded is disabled).
dart bin/prod.dart
-
Run as docker. Edit and build the image with the provided
Dockerfile
file. -
Next, refer to the developer guide to learn more about Angel3 framework.
-
Download and install Dart
-
Install the Angel3 CLI:
dart pub global activate angel3_cli
-
On terminal, create a new project:
angel3 init hello
-
Run the project in development mode (hot-reloaded is enabled on file changes).
dart --observe bin/dev.dart
-
Run the project in production mode (hot-reloaded is disabled).
dart bin/prod.dart
-
Run as docker. Edit and build the image with the provided
Dockerfile
file. -
Next, refer to the developer guide to learn more about Angel3 framework.
Check out Migrating to Angel3
The performance benchmark can be found at
TechEmpower Framework Benchmarks Round 21
The test cases are build using standard Angel3 ORM
template. The result are used for fine-tuning Angel3 framework. The following test cases will be added in the upcoming update to the benchmark.
- Cached queries
- Angel3 with MongoDB
Visit the User Guide for dozens of guides and resources, including video tutorials, to get up and running as quickly as possible with Angel3 framework.
Examples and complete projects can be found here.
You can also view the Angel3 API.
Interested in contributing to Angel3? See the contribution guide here.
If you like this project and interested in supporting its development, you can make a donation via paypal service.