Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 18 22:09
    edalvb edited #278
  • Oct 18 22:09
    edalvb edited #278
  • Oct 18 22:08
    edalvb edited #278
  • Oct 18 22:08
    edalvb edited #278
  • Oct 18 22:07
    edalvb opened #278
  • Oct 18 22:07
    edalvb opened #278
  • Sep 16 16:23
    insinfo commented #277
  • Sep 16 16:23
    insinfo commented #277
  • Sep 16 14:29
    thosakwe commented #277
  • Sep 16 14:29
    thosakwe commented #277
  • Sep 16 14:27
    insinfo opened #277
  • Sep 16 14:27
    insinfo opened #277
  • Sep 08 08:35
    Davletvm opened #276
  • Sep 08 08:35
    Davletvm opened #276
  • Aug 30 16:59
    zimitz commented #268
  • Aug 30 16:59
    zimitz commented #268
  • Aug 29 07:25
    vraptor75011 reopened #259
  • Aug 29 07:25
    vraptor75011 reopened #259
  • Aug 29 07:25
    vraptor75011 closed #259
  • Aug 29 07:25
    vraptor75011 closed #259
James
@u007
oh nvm, my mistake
grey faulkenberry
@Dokotela
I'm trying to create a flutter webapp that can then be hosted on an angel server. Has anyone here already done this? If so, what html renderer did you use? I know at some point it was jael, but I couldn't tell if that was still the recommendation. Tobe thanks again for such an amazing product!
James
@u007
not commit for over 9months
all pull request was pending
over 1year
anyway we could take over it
i mean mongodb dart
Bordunos
@bordunosp
hello
is there a package json-rpc vs websocket ?
Madreyv
@Madreyv
Does anyone can help me with Angel issue?
Bordunos
@bordunosp

hi guys
trying connect websocket, but have the error:
"(index):23 WebSocket connection to 'ws://127.0.0.1:3000/ws' failed: Error during WebSocket handshake: Unexpected response code: 404"

what am I doing wrong?
thank alot for helping...

controllers.dart

library server.src.routes.controllers;

import 'dart:async';
import 'package:angel_framework/angel_framework.dart';
import 'package:angel_websocket/server.dart';
import 'package:server/src/routes/controllers/WsController.dart';

Future configureServer(Angel app) async {
  var ws = AngelWebSocket(app, sendErrors: !app.environment.isProduction);

  await app.configure(ws.configureServer);
  await app.configure(WsController(ws).configureServer);
}

WsController.dart

import 'package:angel_framework/angel_framework.dart';
import 'package:angel_websocket/server.dart';

@Expose('/ws')
class WsController extends WebSocketController {
  WsController(AngelWebSocket ws): super(ws);

  @override
  void onConnect(WebSocketContext socket) {
    print('onConnect');
  }
}
mradhoussem
@mradhoussem
Hey tobe , i am trying to create sql request SUM or COUNT , i tried with executor .query(select count(*) from table ) , is there any solution ??
image.png
note8g2018
@note8g2018
Dear Sir, How to return all document inside collection of MongoDB as Stream with your framework?
I try this code but give me error:
import 'package:angel_framework/angel_framework.dart';
import 'package:angel_framework/http.dart';
import 'package:mongo_dart/mongo_dart.dart' as mongo;

main() async
{
  var app = Angel();
  var http = AngelHttp(app);
  app.get('/', (req, res) => res.write('Hello, world!'));
  app.get('/articleall', (req, res) async {
    const String url =
        'mongodb://note8g2018:123456789@localhost:27017/flutter?authSource=admin';
    mongo.Db db;
    db = mongo.Db(url);
    await db.open();
    final mongo.DbCollection collectionArticle = db.collection('articles');
    var myStream = collectionArticle.find({"author": "zaq12wsx2"});

    return res.write(myStream);
  });
  await http.startServer('192.168.1.100', 3000);
}
note8g2018
@note8g2018
anyone alive here
sayatert
@sayatert

Hello,

We want to integrate sqlite using angel orm. Can you help with this ? We couldn't integrate sqlite using angel orm on mobile part. If there is a SQLite sample project, this may be enough for us.

Davlet
@Davletvm
type 'String' is not a subtype of type 'int' error
hi everyone!
who faced this issue ?
Randal L. Schwartz
@RandalSchwartz
Well it's not!
Davlet
@Davletvm
guys hi!
What about 'unique identifier' in postgresql what type use in Angel models.
Unhandled exception:
PostgreSQLSeverity.unknown 42704: "uniqueidentifier"
Danieliessen
@Danieliessen
hi
Olivier Lorendeaux
@vraptor75011
Hello everyone,
Wanted to give a try to angel and GraphQL. I tried angel cli with choice GraphQL. It appears there is an issue with GraphQL_server which appears to be solved (PR249). I m unable to download the correct version. Any of you have a solution for this issue please ? (I think pub repo is out of sync with GitHub master branch)
1 reply
Davlet
@Davletvm
hi guys !On Joining table final q = KlCashierQuery()
  ..where.id.equals(int.parse(entryId))
  ..join(
    'cashier_details',
    'id',
    'cashier_id',
    additionalFields: const [
      'code',
      'descr',
    ],
  );
how to show first column with query of first Table ?
Davlet
@Davletvm
Fetching only some columns/properties Angel orm?
like this (aqueduct) : var query = new Query<Employee>(context)
..resultingProperties((e) => [e.id, e.name]);
var employees = await query.fetch();
Terrain2
@Terrain2
I want to use angel_client to log in with a flutter app running native and web, for flutter web should i use package:angel_client/browser.dart or package:angel_client/flutter.dart, and if browser.dart, is it even possible to change that at compile-time or something?
AmitPress
@AmitPress
Has anybody ever tried to make components with jael custom elements? I think, someone has. So, how did you managed to make localized style for the component that you have made with custom element....?
Akhtar Ali
@AkhiJamali
Hello everyone... where to deploy API written in angel ?? just like we deploy nodeJs API on heroku?? where to deploy angel written API??
Jermaine Oppong
@graphicbeacon
@AkhiJamali You can also deploy on Heroku. See this video https://youtu.be/IRZ7WH98lLA
MichealReed
@MichealReed
Yo so I'm initializing a new project with angel init name, then I choose option 1 and the folder generated is quite empty
image.png
shouldn't this have a pubspec and dart files?
Everything is fresh, first time with angel today.
Jairo Alonso Fernández
@jairoFernandez
Hi everyone
any options for mapping existing db (postgres)?
Randal L. Schwartz
@RandalSchwartz
“mapping”?
Jairo Alonso Fernández
@jairoFernandez
yeah, as a inversed engineer
Randal L. Schwartz
@RandalSchwartz
making even less sense now
but maybe this is what you’re looking for: https://pub.dev/packages/postgres
Jairo Alonso Fernández
@jairoFernandez
I have an existing db, I need to map existing tables to angel models...
thanks @RandalSchwartz
Randal L. Schwartz
@RandalSchwartz
so like you don’t know the schema and you want Dart to build it all?
jumasheff
@jumasheff_gitlab
Hi! I started learning Dart and Flutter recently and came across Anglel. I really liked it, but found out that @thosakwe is no longer going to support it.
Is it possible to pass leadership to, I don't know, Linux foundation (if they are willing to accept it)?
There was a somewhat (remotely) similar situation with RethinkDB: https://rethinkdb.com/blog/rethinkdb-joins-linux-foundation
I think that @thosakwe was too ahead of time with this framework. Now that Flutter's popularity is soaring up, I'm sure interest to Angel will rise as well.
Randal L. Schwartz
@RandalSchwartz
even if you gave it to the Linux Foundatioon, yooou still need a champion for it.
jumasheff
@jumasheff_gitlab
@RandalSchwartz sigh ... I'll be around to support the project, say, by spreading a word about it, at least.
I'm really hopeful that it will survive.