You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DebuggerX 049d9286f2
feat: scheme download feature.
3 years ago
..
3rd_party/neat_cache wip: fix liked null value 3 years ago
bin feat: add retry to db connection when startup. 3 years ago
config wip: update docker-compose file and start up script. 3 years ago
lib feat: scheme download feature. 3 years ago
test feat: change api framework to angel3. 3 years ago
views feat: add retry to db connection when startup. 3 years ago
web feat: add retry to db connection when startup. 3 years ago
.dockerignore feat: change api framework to angel3. 3 years ago
.gitignore wip: upgrade dependencies 3 years ago
AUTHORS.md feat: change api framework to angel3. 3 years ago
CHANGELOG.md feat: change api framework to angel3. 3 years ago
CONTRIBUTING.md feat: change api framework to angel3. 3 years ago
Dockerfile wip: update docker-compose file and start up script. 3 years ago
LICENSE feat: change api framework to angel3. 3 years ago
README.md feat: change api framework to angel3. 3 years ago
analysis_options.yaml feat: implement some api; add md editor to app; login and signup logic. 3 years ago
docker-compose.yml wip: update docker-compose file and start up script. 3 years ago
pubspec.yaml feat: add retry to db connection when startup. 3 years ago
source_gen.sh feat: implement some api; add md editor to app; login and signup logic. 3 years ago
start.sh wip: fix liked null value 3 years ago

README.md

ORM Starter Application for Angel3 framework

This is an ORM starter application for Angel3 framework which is a full-stack Web framework in Dart. The default database is postgresql. mysql support is still in active development.

Installation & Setup

  1. Download and install Dart.

  2. Install postgresql version 9, 10, 11 or 12. postgresql 13 is not working as the driver do not support SCRAM

  3. Create a new user and database in postgres using psql cli. For example:

     postgres=# create database appdb;
     postgres=# create user appuser with encrypted password 'App1970#';
     postgres=# grant all privileges on database appdb to appuser;
    
  4. Update the postgres section in the config/default.yaml file with the newly created user and database name.

     postgres:
         host: localhost
         port: 5432
         database_name: appdb
         username: appuser
         password: App1970#
         useSSL: false
         time_zone: UTC
    
  5. Run the migration to generate migrations and greetings tables in the database.

    dart bin/migration.dart
    

Development

  1. Run the following command to start Angel3 server in dev mode to hot-reloaded on file changes:

    dart --observe bin/dev.dart
    
  2. Modify the code and watch the changes applied to the application

Production

  1. Run the following command:

    dart bin/prod.dart
    
  2. Run as docker. Edit and run the provided Dockerfile to build the image.

Resources

Visit the Developer Guide for dozens of guides and resources, including video tutorials, to get up and running as quickly as possible with Angel3.

Examples and complete projects can be found here.

You can also view the API Documentation.