Skip to content

Commit

Permalink
initial commit for github repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nearbycoder committed Jun 26, 2015
0 parents commit 541bb66
Show file tree
Hide file tree
Showing 35 changed files with 2,025 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
dist
.tmp
.sass-cache
bower_components
server/config.js
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Material Poll
### This is a open source implementation of the strawpoll.me site. [DEMO](http://materialpoll.tk)
* Server built with Node, Express, Mongo and Socket.io
* Client built with Yo Angular.

#### Make sure to rename config.js.example to config.js with your mongodb connection string.

##### Create Poll
![Material Poll](img/material1.png?raw=true "Material Poll")
##### Vote on Poll
![Material Poll](img/material2.png?raw=true "Material Poll")
##### See Results
![Material Poll](img/material3.png?raw=true "Material Poll")
3 changes: 3 additions & 0 deletions client/.bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "bower_components"
}
21 changes: 21 additions & 0 deletions client/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
26 changes: 26 additions & 0 deletions client/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"node": true,
"browser": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"eqnull": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true,
"globals": {
"angular": false,
"$": false,
"io": false
}
}
9 changes: 9 additions & 0 deletions client/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sudo: false
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10'
before_script:
- 'npm install -g bower grunt-cli'
- 'bower install'
1 change: 1 addition & 0 deletions client/.yo-rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading

0 comments on commit 541bb66

Please sign in to comment.