GithubHelp home page GithubHelp logo

furiousfil / dart-communities Goto Github PK

View Code? Open in Web Editor NEW

This project forked from woven/woven

0.0 1.0 0.0 975 KB

A client/server Dart application using Polymer and Firebase.

Home Page: http://mycommunity.org/woven

dart-communities's Introduction

dart-communities

This demonstrates a fairly fleshed out client and server Dart application. It's a tool that lets people share across various communities.

It's free and open source. We hope it helps others as they navigate the world of Dart and Polymer, and we hope it helps us as others scrutinize our approach and help us improve.

This is serving as the base for our latest work with Woven. A live version can be found at http://mycommunity.org for now. Please sign up!

Components

  • Polymer (encapsulated and interoperable custom elements)
  • Polymer core-elements (a great core set of custom elements)
  • Polymer paper-elements (some elements based on Material Design from Google)
  • Firebase (store and sync data in realtime)

The app demonstrates an approach to client/server routing and communication, Facebook sign in and more.

Caveats

  • Please note that at some point we'll likely fork continued work on our product to a private repo.
  • Please excuse the mess. I'm playing and learning, and I welcome your input and contributions.

Setup

  • If you don't have it yet, get the Dart SDK. This is currently tested with 1.6.
  • It's a good idea to add the Dart tools to your $PATH.
  • Clone this repo, then run pub get in the main directory to get all the dependencies.
  • Create your own config.dart in lib/config by copying the example found there.
  • You may wish to set your own hostname there, and map that hostname to 127.0.0.1 in your hosts file.
  • Get your own Firebase URL โ€“ sign up, create a Firebase app and replace my URL with yours.
  • Actually, for now you have to manually create the communities in the database. So it doesn't hurt to use my development Firebase URL in the meantime.
  • Start the server with sudo dart start.dart and then visit the URL that's set in your configuration in Dartium.
  • You can also pub build (dart2js) the app to run it in any modern browser. Set the directory in your configuration to build/web first.

Get in touch

Don't hesitate to reach out: [email protected] or via the app itself: http://mycommunity.org/woven

Known issues

http://mycommunity.org/item/LUpVR2ktVnlsWU9TQmRDbnZxbGs=

Updates

http://mycommunity.org/item/LUpWTzJSdWdqOEpNeUp1NXpCWGQ=

Credits

Author: David Notik

Contributors: Kai Sellgren

Lots of help from the Dart team and community on Stack Overflow and elsewhere.

dart-communities's People

Contributors

davenotik avatar kaisellgren avatar xbanegas avatar

Watchers

 avatar

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.