Skip to content

Commit bb8db1a

Browse files
committed
initial version
0 parents  commit bb8db1a

File tree

288 files changed

+2784
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+2784
-0
lines changed

.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# For more information about the properties used in
2+
# this file, please see the EditorConfig documentation:
3+
# http://editorconfig.org/
4+
5+
root = true
6+
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_size = 4
11+
indent_style = space
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
[*.md]
16+
trim_trailing_whitespace = false
17+
18+
[{.travis.yml,package.json}]
19+
# The indent size used in the `package.json` file cannot be changed
20+
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
21+
indent_size = 2
22+
indent_style = space

.gitattributes

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Automatically normalize line endings for all text-based files
2+
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion
3+
* text=auto
4+
5+
# For the following file types, normalize line endings to LF on
6+
# checkin and prevent conversion to CRLF when they are checked out
7+
# (this is required in order to prevent newline related issues like,
8+
# for example, after the build script is run)
9+
.* text eol=lf
10+
*.css text eol=lf
11+
*.html text eol=lf
12+
*.js text eol=lf
13+
*.json text eol=lf
14+
*.md text eol=lf
15+
*.sh text eol=lf
16+
*.txt text eol=lf
17+
*.xml text eol=lf

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
dist/
3+
*~
4+
.idea/
5+
npm-debug.log

.jscsrc

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"disallowEmptyBlocks": true,
3+
"disallowKeywords": [
4+
"with"
5+
],
6+
"disallowMixedSpacesAndTabs": true,
7+
"disallowMultipleLineStrings": true,
8+
"disallowMultipleVarDecl": true,
9+
"disallowSpaceAfterPrefixUnaryOperators": [
10+
"!",
11+
"+",
12+
"++",
13+
"-",
14+
"--",
15+
"~"
16+
],
17+
"disallowSpaceBeforeBinaryOperators": [
18+
","
19+
],
20+
"disallowSpaceBeforePostfixUnaryOperators": true,
21+
"disallowSpacesInNamedFunctionExpression": {
22+
"beforeOpeningRoundBrace": true
23+
},
24+
"disallowSpacesInsideArrayBrackets": true,
25+
"disallowSpacesInsideParentheses": true,
26+
"disallowTrailingComma": true,
27+
"disallowTrailingWhitespace": true,
28+
"validateIndentation": 4,
29+
"validateLineBreaks": "LF",
30+
"validateParameterSeparator": ", "
31+
}

.jshintrc

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
3+
// Enforcing options
4+
// http://www.jshint.com/docs/options/#enforcing-options
5+
6+
"bitwise": true,
7+
"eqeqeq": true,
8+
"forin": true,
9+
"latedef": true,
10+
"noarg": true,
11+
"nonbsp": true,
12+
"nonew": true,
13+
"undef": true,
14+
"unused": true,
15+
16+
// - - - - - - - - - - - - - - - - - - - - - - - - - - -
17+
18+
// Relaxing options
19+
// http://www.jshint.com/docs/options/#relaxing-options
20+
21+
"esnext": true,
22+
23+
// - - - - - - - - - - - - - - - - - - - - - - - - - - -
24+
25+
// Environments
26+
// http://www.jshint.com/docs/options/#environments
27+
28+
"browser": true,
29+
"browserify": true
30+
// "node": true
31+
32+
}

CHECKS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
WAIT=30
2+
/ browsehappy

LICENSE.txt

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) Hackafe
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7+
of the Software, and to permit persons to whom the Software is furnished to do
8+
so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: npm start

README.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# [Hackafe Insider Portal](http://insider.hackafe.org)
2+
**Internally deployed**
3+
4+
[![wercker status](https://app.wercker.com/status/4a2d4891222508baa64254adccbb24a3/s "wercker status")](https://app.wercker.com/project/bykey/4a2d4891222508baa64254adccbb24a3)
5+
[![Build Status](https://travis-ci.org/Hackafe/insider.svg)](https://travis-ci.org/Hackafe/insider)
6+
[![Dependency Status](https://david-dm.org/Hackafe/insider.svg)](https://david-dm.org/Hackafe/insider#info=dependencies)
7+
[![devDependency Status](https://david-dm.org/Hackafe/insider/dev-status.svg)](https://david-dm.org/Hackafe/insider#info=devDependencies)
8+
9+
Hackafe Insider Portal provides information for people inside the Hackafe space.
10+
Usefull information is upcoming events, who is inside and other cool stuff.
11+
12+
The project is open source and open to contributions. If you believe a feature is missing
13+
you are welcome to [create a pull request](CONTRIBUTING.md#pull-requests) or just [request the feature](CONTRIBUTING.md#features). If you found a bug [report it](CONTRIBUTING.md#bugs) at once.
14+
15+
* Website (only while inside Hackafe space): [http://insider.hackafe.org](http://insider.hackafe.org)
16+
* Source: [https://github.com/Hackafe/insider](https://github.com/Hackafe/insider)
17+
18+
## Contributing
19+
20+
Anyone and everyone is welcome to [contribute](CONTRIBUTING.md),
21+
however, if you decide to get involved, please take a moment to review
22+
the [guidelines](CONTRIBUTING.md):
23+
24+
* [Bug reports](CONTRIBUTING.md#bugs)
25+
* [Feature requests](CONTRIBUTING.md#features)
26+
* [Pull requests](CONTRIBUTING.md#pull-requests)
27+
28+
### Building
29+
30+
The project uses npm scripts to build and run.
31+
32+
#### Run
33+
To run locally the project:
34+
```
35+
npm install
36+
npm start
37+
```
38+
after that you can open [http://localhost:8080](http://localhost:8080) to inspect
39+
40+
#### Dev
41+
To run in dev mode with watchers to rebuild on change
42+
```
43+
npm run dev
44+
```
45+
then open [http://localhost:9966](http://localhost:9966)
46+
47+
#### Test
48+
Tests are lacking at the moment, but there are jshint and jscs rules that are run
49+
```
50+
npm test
51+
```
52+
53+
**Note:** Always run the tests before commiting
54+
55+
## License
56+
57+
The code is available under the [MIT license](LICENSE.txt).

app.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "hackafe-Insider",
3+
"description": "Hackafe Insider Portal",
4+
"repository": "https://github.com/Hackafe/insider",
5+
"keywords": ["hackafe", "insider", "portal"]
6+
}

0 commit comments

Comments
 (0)