Coder Social home page Coder Social logo

angular_objectory_demo's Introduction

angular_objectory_demo

Sample full stack application with

  • Angular.dart as primary framework
  • MongoDb as backend DB
  • Objectory as object/document mapper
  • Rikulo Stream Web server to serve static content and as a container for Objectory WebSocket handler.

Application based on example from angular.dart.tutorial Chapter 6 with Edit/Add/Remove operations added.

First steps:

  • If you have MongoDB installed locally with default settings, skip that. Otherwise edit connection strings in bin/populate_db.dart and bin/stream_server.dart
  • Run bin/populate_db.dart
  • Run bin/stream_server.dart
  • Now you may use DartEditor launcher on web/index.ttml or just open Dartium on http://127.0.0.1:8080/

Demo works with Angular 0.10.0

angular_objectory_demo's People

Contributors

vadimtsushko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular_objectory_demo's Issues

Problem running the example

I have found a small issue in running this example today.
I'm using Dart Editor 1.8.5, angular 0.10.0
In the lib/service/query_service.dart file the following import was missing:
import 'dart:async';

Regards,
Giorgio

Error message: Annotation can be only constant variable...

I get the following error message in the Dart Editor:

Annotation can be only constant variable or constant constructor invocation

It appears in a few places. One example is in main.dart for the following code:

@NgController(
    selector: '[recipe-book]',
    publishAs: 'ctrl')

I have just started using Dart and Angular, so I don't know how to proceed. I see this package was last updated 6 months ago. I presume it is out-of-date with the latest release of Dart, or I have done a noob mistake (although I have not changed a thing).

Version details are:
Dart Editor version 1.3.3.release (STABLE)
Dart SDK version 1.3.3
Ubuntu 14.04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.