├── .bowerrc ├── .editorconfig ├── .firebaserc ├── .gitignore ├── README.md ├── bower.json ├── database.rules.json ├── firebase.json └── public ├── elements ├── elements.html ├── my-place.html └── work-places.html ├── images └── touch │ ├── apple-touch-icon.png │ ├── chrome-splashscreen-icon-384x384.png │ ├── chrome-touch-icon-192x192.png │ ├── icon-128x128.png │ ├── ms-icon-144x144.png │ └── ms-touch-icon-144x144-precomposed.png ├── index.html ├── manifest.json ├── scripts └── app.js └── styles ├── app-theme.html ├── main.css └── shared-styles.html /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "public/bower_components" 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | 8 | [*] 9 | 10 | # Change these settings to your own preference 11 | indent_style = space 12 | indent_size = 2 13 | 14 | # We recommend you to keep these unchanged 15 | end_of_line = lf 16 | charset = utf-8 17 | trim_trailing_whitespace = true 18 | insert_final_newline = true 19 | 20 | [*.md] 21 | trim_trailing_whitespace = false 22 | -------------------------------------------------------------------------------- /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "ondetrabalhar-faacc" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bower_components 2 | firebase-debug.log 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Onde Trabalhar? 2 | > Toda boa ferramenta começa com um bom nome. Ainda não decidimos o nosso, [ajude-nos](https://github.com/trabalhando/ondetrabalhar/issues/1)! 3 | 4 | Protótipo: [https://ondetrabalhar-faacc.firebaseapp.com](https://ondetrabalhar-faacc.firebaseapp.com) 5 | 6 | ## Proposta 7 | Listar bons lugares para trabalhar nas cidades brasileiras. Podemos listar cafés, coworkings, hotéis e onde mais for possível trabalhar. 8 | 9 | ## Projetos similares 10 | - https://workfrom.co/ 11 | - http://www.coworkingintown.com/ 12 | - http://workhardanywhere.com/ 13 | 14 | ## Tecnologia 15 | [Ajude-nos a decidir qual a melhor tecnologia pra esse projeto](https://github.com/trabalhando/ondetrabalhar/issues/4). 16 | 17 | ## Funcionalidades 18 | O que você gostaria de ver nessa ferramenta? [Comente nessa issue](https://github.com/trabalhando/ondetrabalhar/issues/3). 19 | 20 | ## Executando o projeto localmente 21 | 22 | ```bash 23 | $ npm install -g bower firebase-tools && bower install && firebase serve 24 | ``` 25 | 26 | ## Deploy para o firebase 27 | 28 | ```bash 29 | $ firebase deploy 30 | ``` 31 | 32 | ## Contribua! 33 | Tarefas: [![Stories in Ready](https://badge.waffle.io/trabalhando/ondetrabalhar.svg?label=ready&title=Ready)](http://waffle.io/trabalhando/ondetrabalhar) 34 | 35 | Slack: https://onde-trabalhar.herokuapp.com/ 36 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ondetrabalhar", 3 | "homepage": "https://github.com/trabalhando/ondetrabalhar", 4 | "authors": [ 5 | "klarkc " 6 | ], 7 | "description": "Exemplos de caso de uso para projeto ondetrabalhar", 8 | "main": "index.html", 9 | "keywords": [ 10 | "ondetrabalhar" 11 | ], 12 | "license": "MIT", 13 | "private": true, 14 | "ignore": [ 15 | "**/.*", 16 | "node_modules", 17 | "bower_components", 18 | "test", 19 | "tests" 20 | ], 21 | "dependencies": { 22 | "polymer": "^1.6.1", 23 | "iron-flex-layout": "^1.3.1", 24 | "google-apis": "GoogleWebComponents/google-apis#^1.1.6", 25 | "iron-icons": "^1.1.3", 26 | "paper-styles": "^1.1.4", 27 | "icon-rate": "^1.1.2", 28 | "iron-input": "^1.0.10", 29 | "google-map": "klarkc/google-map#UseDOMInMarkers", 30 | "polymerfire": "^0.9.5", 31 | "app-storage": "^0.9.4", 32 | "paper-input": "^1.1.17", 33 | "paper-material": "PolymerElements/paper-material#^1.0.6", 34 | "paper-card": "PolymerElements/paper-card#^1.1.2", 35 | "paper-button": "PolymerElements/paper-button#^1.0.13", 36 | "paper-toast": "PolymerElements/paper-toast#^1.3.0" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /database.rules.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "places": { 4 | ".read": true, 5 | ".write": true 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /firebase.json: -------------------------------------------------------------------------------- 1 | { 2 | "database": { 3 | "rules": "database.rules.json" 4 | }, 5 | "hosting": { 6 | "public": "public", 7 | "rewrites": [ 8 | { 9 | "source": "**", 10 | "destination": "/index.html" 11 | } 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /public/elements/elements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /public/elements/my-place.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 72 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /public/elements/work-places.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 59 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /public/images/touch/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trabalhando/ondetrabalhar/8aad9deccfe5a6873f5d785437d7db37988256a5/public/images/touch/apple-touch-icon.png -------------------------------------------------------------------------------- /public/images/touch/chrome-splashscreen-icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trabalhando/ondetrabalhar/8aad9deccfe5a6873f5d785437d7db37988256a5/public/images/touch/chrome-splashscreen-icon-384x384.png -------------------------------------------------------------------------------- /public/images/touch/chrome-touch-icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trabalhando/ondetrabalhar/8aad9deccfe5a6873f5d785437d7db37988256a5/public/images/touch/chrome-touch-icon-192x192.png -------------------------------------------------------------------------------- /public/images/touch/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trabalhando/ondetrabalhar/8aad9deccfe5a6873f5d785437d7db37988256a5/public/images/touch/icon-128x128.png -------------------------------------------------------------------------------- /public/images/touch/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trabalhando/ondetrabalhar/8aad9deccfe5a6873f5d785437d7db37988256a5/public/images/touch/ms-icon-144x144.png -------------------------------------------------------------------------------- /public/images/touch/ms-touch-icon-144x144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trabalhando/ondetrabalhar/8aad9deccfe5a6873f5d785437d7db37988256a5/public/images/touch/ms-touch-icon-144x144-precomposed.png -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Onde trabalhar 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Onde trabalhar", 3 | "short_name": "Onde trabalhar", 4 | "icons": [{ 5 | "src": "images/touch/icon-72x72.png", 6 | "sizes": "72x72", 7 | "type": "image/png" 8 | }, { 9 | "src": "images/touch/icon-96x96.png", 10 | "sizes": "96x96", 11 | "type": "image/png" 12 | }, { 13 | "src": "images/touch/icon-128x128.png", 14 | "sizes": "128x128", 15 | "type": "image/png" 16 | }, { 17 | "src": "images/touch/ms-touch-icon-144x144-precomposed.png", 18 | "sizes": "144x144", 19 | "type": "image/png" 20 | }, { 21 | "src": "images/touch/apple-touch-icon.png", 22 | "sizes": "152x152", 23 | "type": "image/png" 24 | }, { 25 | "src": "images/touch/chrome-touch-icon-192x192.png", 26 | "sizes": "192x192", 27 | "type": "image/png" 28 | },{ 29 | "src": "images/touch/chrome-splashscreen-icon-384x384.png", 30 | "sizes": "384x384", 31 | "type": "image/png" 32 | },{ 33 | "src": "images/touch/icon-512x512.png", 34 | "sizes": "512x512", 35 | "type": "image/png" 36 | }], 37 | "background_color": "#D7CCC8", 38 | "display": "standalone", 39 | "theme_color": "#795548" 40 | } 41 | -------------------------------------------------------------------------------- /public/scripts/app.js: -------------------------------------------------------------------------------- 1 | (function(document) { 2 | 'use strict'; 3 | 4 | // Grab a reference to our auto-binding template 5 | // and give it some initial binding values 6 | // Learn more about auto-binding templates at http://goo.gl/Dx1u2g 7 | var app = document.querySelector('#app'); 8 | 9 | // Configure app 10 | app.config = { 11 | firebase: { 12 | name: "ondetrabalhar", 13 | apiKey: "AIzaSyD7UAYUdafNm6oNssSrwjWptYJOWxrvzsg", 14 | authDomain: "ondetrabalhar-faacc.firebaseapp.com", 15 | databaseURL: "https://ondetrabalhar-faacc.firebaseio.com", 16 | storageBucket: "ondetrabalhar-faacc.appspot.com" 17 | } 18 | }; 19 | 20 | // Temporary localization 21 | app.area = {lat: -14.8530933, lon: -40.8387877, zoom: 18}; 22 | 23 | app.message = "IT's gonna be Legen... Wait for it..."; 24 | 25 | window.addEventListener('WebComponentsReady', function(e){ 26 | app.message += ' DARY!'; 27 | app.$.toast.show(); 28 | }); 29 | 30 | // Handle new place 31 | app._addPlace = function(event) { 32 | var place = event.detail; 33 | app.$.query.ref.push(place); 34 | }; 35 | })(document); 36 | -------------------------------------------------------------------------------- /public/styles/app-theme.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 147 | -------------------------------------------------------------------------------- /public/styles/main.css: -------------------------------------------------------------------------------- 1 | /* 2 | This main file is for splash screen, while app-theme and web components are not loaded 3 | */ 4 | 5 | body { 6 | background: #fafafa; 7 | color: #4c4c4c; 8 | font: 400 14px / 21px Lato; 9 | } 10 | -------------------------------------------------------------------------------- /public/styles/shared-styles.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24 | 25 | --------------------------------------------------------------------------------