platform/README.md
2021-09-13 10:45:15 +08:00

4.8 KiB

Angel3 Framework

Angel3 Framework

version Null Safety Gitter

License

A polished, production-ready backend framework in Dart with NNBD support.


About

Angel3 is a fork of the original Angel framework to support NNBD in Dart SDK 2.12.x and 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 availabe features in Angel3 includes:

  • Static File Handling
  • Basic Authentication
  • PostgreSQL ORM
  • GraphQL
  • And much more...

See all the available packages for more information.

Important Notes

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.12.x and above.
  • Publish : Yes. Refer to packages with angel3_ prefix on pub.dev.
  • NNBD Support : Yes
  • Status : Release
  • Notes : Use this for PR

Branch: angel3

  • Dart version : 2.12.x and above.
  • NNBD Support : Yes
  • Status : Development
  • Notes : This branch is under active development. Features maybe broken from time to time.

For more details, checkout Project Status

Installation and Setup

Create a new project by cloning from boilerplate templates

  1. Download and install Dart

  2. Clone one of the following starter projects:

  3. Run the project in development mode (hot-reloaded is enabled on file changes).

    dart --observe bin/dev.dart
    
  4. Run the project in production mode (hot-reloaded is disabled).

    dart bin/prod.dart
    
  5. Run as docker. Edit and build the image with the provided Dockerfile file.

  6. Next, refer to the developer guide to learn more about Angel3 framework.

Create a new project with Angel3 CLI

  1. Download and install Dart

  2. Install the Angel3 CLI:

    dart pub global activate angel3_cli
    
  3. On terminal, create a new project:

    angel3 init hello
    
  4. Run the project in development mode (hot-reloaded is enabled on file changes).

    dart --observe bin/dev.dart
    
  5. Run the project in production mode (hot-reloaded is disabled).

    dart bin/prod.dart
    
  6. Run as docker. Edit and build the image with the provided Dockerfile file.

  7. Next, refer to the developer guide to learn more about Angel3 framework.

Migrating from Angel to Angel3

Check out Migrating to Angel3

Examples and Documentation

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.

There is also an Awesome Angel 🔥 list.

Contributing

Interested in contributing to Angel3? See the contribution guide here.