├── Procfile ├── .gitignore ├── .babelrc ├── .DS_Store ├── test ├── mocha.opts ├── setup.js ├── client-page-test.js ├── DBhandler-test.js ├── client-lib-utils-test.js └── server-test.js ├── controller ├── .DS_Store ├── routes │ ├── view.js │ └── login.js ├── api.js └── DBhandler.js ├── views ├── index.ejs ├── error.ejs ├── footer.ejs └── header.ejs ├── dist ├── fonts │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── home.chunk.js ├── list.chunk.js ├── new.chunk.js ├── loading.css ├── vendor │ ├── react.min.js │ └── bootstrap.min.js └── vote.bundle.js ├── .travis.yml ├── client ├── components │ ├── loading.jsx │ ├── spning.jsx │ ├── footer.jsx │ ├── BottomLoader.js │ ├── transition.jsx │ └── header.jsx ├── index.jsx ├── list.jsx ├── home.jsx ├── lib │ └── utils.js ├── detail.jsx └── new.jsx ├── start.sh ├── index.js ├── serverConfig.js ├── package.json ├── webpack.config.js ├── .eslintrc └── README.md /Procfile: -------------------------------------------------------------------------------- 1 | web: node index.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | data 3 | coverage 4 | .DS_Store -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ "es2015", "stage-0", "react"] 3 | } -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elevenbeans/we-voting/HEAD/.DS_Store -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --compilers js:babel-core/register 2 | --require ./test/setup.js -------------------------------------------------------------------------------- /controller/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elevenbeans/we-voting/HEAD/controller/.DS_Store -------------------------------------------------------------------------------- /views/index.ejs: -------------------------------------------------------------------------------- 1 | <%- include('header') -%> 2 |
3 | 4 | <%- include('footer') -%> 5 | -------------------------------------------------------------------------------- /views/error.ejs: -------------------------------------------------------------------------------- 1 | <%- include('header') -%> 2 | 3 | 4 | no this page! 5 | <%- include('footer') -%> 6 | -------------------------------------------------------------------------------- /dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elevenbeans/we-voting/HEAD/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elevenbeans/we-voting/HEAD/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /dist/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elevenbeans/we-voting/HEAD/dist/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 6 4 | branches: 5 | only: 6 | - master 7 | install: 8 | - npm install 9 | script: 10 | - npm test 11 | after_success: 12 | - npm run coveralls 13 | services: mongodb -------------------------------------------------------------------------------- /views/footer.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |