Git Product home page Git Product logo

front's Introduction

tlks.io : front

tlks.io front end web application

Table of contents

Quick Start

You need node.js installed:

$ git clone http://github.com/tlksio/front
$ cd front
$ npm install
$ # Create a config.json from config.json.dist
$ node .
$ # Point your browser at http://localhost:<config.json:port>

To speed up the development, we recommend you use nodemon:

$ sudo npm install -g nodemon
$ # Instead of using "node ." use this line
$ nodemon .

Documentation

Please check the whole Project Documentation repo at: tlks.io documentation

Build status

  • Branch Master : Build Status Master

  • Branch Develop : Build Status Develop

## Test coverage

  • Coverage Status

  • Coverage Status

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

TODO

In order of precendence always work on existing issues before spending hours on new things.

If you have an idea for the future and it is not planed on the global roadmap please check the [TODO list of ideas] on every project repo and add your idea there to be discussed.

If you already added a new idea to one of the existing projects, go and ping to a developer and ask him to disscuss it. Good luck! ;)

This project TODO idea list is here: TODO.md.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, if your pull request contains patches or features, you must include relevant unit tests.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, this project is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to those rules whenever possible.

Creators

Raül Pérez

José Gil

Eric Pinto

Copyright and License

Code and documentation copyright 2015 tlks.io authors.

Code released under the MIT license.

front's People

Contributors

repejota avatar dawnangel avatar octante avatar gorkaio avatar josgilmo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar James Cloos avatar

Forkers

dawnangel

front's Issues

gulp-less breaks the build

./node_modules/.bin/gulp default
[16:05:57] Using gulpfile ~/Projects/tlks.io/front/gulpfile.js
[16:05:57] Starting 'jshint'...
[16:05:57] Finished 'jshint' after 15 ms
[16:05:57] Starting 'less'...
[16:05:57] Finished 'less' after 3.64 ms
[16:05:57] Starting 'csslint'...
[16:05:57] Finished 'csslint' after 2.34 ms
[16:05:57] Starting 'default'...
[16:05:57] Finished 'default' after 5.33 μs
/home/raul/Projects/tlks.io/front/node_modules/gulp-less/index.js:68
    }).done(undefined, cb);
       ^
TypeError: undefined is not a function
    at DestroyableTransform._transform (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/index.js:68:8)
    at DestroyableTransform.Transform._read (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
    at doWrite (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
    at writeOrBuffer (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
    at DestroyableTransform.Writable.write (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
    at write (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at DestroyableTransform.emit (events.js:104:17)
make: *** [build] Error 1

Search fails

http://localhost:8081/search?q=google*

TypeError: /home/raul/Projects/tlks.io/front/src/views/partials/talk-list.item.jade:5
   3|     .col-xs-2.thumb
   4|         //- Thumbnail
 > 5|         a(href="talk/play/" + talk.id)
   6|             img.img-responsive.img-circle.thumbnail(src="http://img.youtube.com/vi/" + talk.code + "/0.jpg")
   7|     .col-xs-8.content
   8|         //- Title

Cannot read property 'id' of undefined
   at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:422:55)
   at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:1131:4)
   at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:1472:22)
   at res (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:219:38)
   at Object.exports.renderFile (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:380:38)
   at View.exports.renderFile [as engine] (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:370:21)
   at View.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/view.js:93:8)
   at EventEmitter.app.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/application.js:566:10)
   at ServerResponse.res.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/response.js:938:7)
   at Request._callback (/home/raul/Projects/tlks.io/front/lib/routes/talk.js:47:13)

Vote talks.

If the user is registered allow to vote up a talk.

Talk: info

Show n. views, n. comments, favorited on detailed view

CSS Lint

Execute make lint to jshint and csslint your sources:

[16:09:26] 22 errors found in /home/raul/Projects/tlks.io/front/public/css/app.css
[16:09:26] [L11:C1] Rule is empty. Rules without any properties specified should be removed. (empty-rules)
[16:09:26] [L12:C3] Expected RBRACE at line 12, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L15:C1] Unexpected token '}' at line 15, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L18:C3] Expected RBRACE at line 18, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L21:C5] Expected RBRACE at line 21, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L31:C3] Unexpected token '}' at line 31, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L32:C1] Unexpected token '}' at line 32, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L35:C3] Expected RBRACE at line 35, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L37:C5] Expected RBRACE at line 37, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L49:C7] Expected RBRACE at line 49, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L53:C7] Unexpected token '}' at line 53, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L54:C5] Unexpected token '}' at line 54, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L55:C5] Rule is empty. Rules without any properties specified should be removed. (empty-rules)
[16:09:26] [L56:C9] Expected COLON at line 56, col 9. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L59:C5] Unexpected token '}' at line 59, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L62:C7] Expected RBRACE at line 62, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L72:C5] Unexpected token '}' at line 72, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L73:C3] Unexpected token '}' at line 73, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L74:C1] Unexpected token '}' at line 74, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L79:C3] Expected RBRACE at line 79, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L83:C3] Unexpected token '}' at line 83, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L84:C1] Unexpected token '}' at line 84, col 1. This rule looks for recoverable syntax errors. (errors)
/home/raul/Projects/tlks.io/front/lib/routes/talk.js: line 236, col 33, Missing semicolon.

Use libtlks

All models need to use libtlks and not directly mongo or the search index.

Like / Favorite talks

Allow to registered users to favorite talks.
If the user is not authorized we will only show the number of favorites the talk has.

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.