Skip to content

Commit 0420153

Browse files
Merge pull request #8 from PrabhaniN/master
Initialize base project
2 parents 16957e9 + b958ebe commit 0420153

38 files changed

+880
-109
lines changed

.browserslistrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 1%
2+
last 2 versions

.eslintrc.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
extends: ["plugin:vue/essential", "@vue/prettier"],
7+
rules: {
8+
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
9+
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
10+
},
11+
parserOptions: {
12+
parser: "babel-eslint"
13+
}
14+
};

.gitignore

+10-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,13 @@ typings/
7979

8080
# Config files
8181
credential.js
82-
secret.js
82+
secret.js
83+
84+
# Node modules
85+
node_modules/
86+
87+
# Build Files
88+
dist/
89+
90+
# Config files
91+
.prettierrc.js

.travis.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
language: node_js
2+
node_js:
3+
- 11.9.0
4+
5+
cache:
6+
npm: true
7+
directories:
8+
- node_modules
9+
10+
branches:
11+
only:
12+
- master
13+
14+
before_script:
15+
- npm ci
16+
17+
script:
18+
- npm run build
19+
20+
deploy:
21+
provider: pages
22+
skip-cleanup: true
23+
github-token: $GITHUB_TOKEN
24+
keep-history: true
25+
local-dir: dist
26+
on:
27+
branch: master

README.md

+29-20
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,54 @@
11
# About Codebadge
2+
3+
[![Online Status](https://img.shields.io/website/http/prabhani.me/Codebadge.svg?down_message=offline&up_message=online)](http://prabhani.me/Codebadge)
4+
[![Build Status](https://travis-ci.com/PrabhaniN/Codebadge.svg?branch=master)](https://travis-ci.com/PrabhaniN/Codebadge)
5+
![Language Count](https://img.shields.io/github/languages/count/PrabhaniN/codebadge.svg)
6+
[![License](https://img.shields.io/github/license/PrabhaniN/codebadge.svg)](https://github.com/PrabhaniN/Codebadge/blob/master/LICENSE)
7+
28
Well we all have been working in Open Source and committing various Pull requests and issues. Many a times it may happen that a mentor is unanle to manage all these activities. So This project is about tracking the contributor as well as its contribution by respective mentors.
39

410
### Features
511

6-
- Easy to monitor the activities of various contributors.
7-
- Visibility of top contributors in various projects.
8-
- Real time tracking of commits, PR's and other contributions.
9-
- Contributors list based on number of PR's, merged pulls and other activities.
10-
- Contribution history of each contributor.
12+
- Easy to monitor the activities of various contributors.
13+
- Visibility of top contributors in various projects.
14+
- Real time tracking of commits, PR's and other contributions.
15+
- Contributors list based on number of PR's, merged pulls and other activities.
16+
- Contribution history of each contributor.
1117

1218
The other part of this project includes the “notifying moderator” since we see sometimes that there are many PRs being sent, or issues being opened by various people across the globe but there are limited numbers of maintainers merging the PRs. This way organisations usually lose their potential contributors due to following things:
1319

14-
- Their PRs are not being merged
15-
- They finds difficulty in understanding the issue
16-
- They could not reach to expectation
17-
So this will help the maintainers get notified when they see these people inactive.
20+
- Their PRs are not being merged
21+
- They finds difficulty in understanding the issue
22+
- They could not reach to expectation
23+
So this will help the maintainers get notified when they see these people inactive.
1824

1925
## How does it work
26+
2027
For instance, suppose a contributor “X” has been quite active within the community by working on various PRs, opening and resolving various issues, active on chat channels but after a month “X” gets disappeared. So by using this dashboard they will have a badge interface. There will be a badge attached in front of the name of the contributor. Let the name of the badge be “Y” so this badge will have a unique color. So as the time passes like “ a day went, 1 week went, 2 weeks went, a month, etc) this badges will get keep on fading. And Every fade color will have a unique reason. For example, when a contributor made a PR, the badge appeared “Red” in color. This badge will remain in the same color as long as he/she is contributing. Assume that contributor stops contributing and has not contributed for a week so his badge will become green in color. And this will keep on notifying mainaters, Admins about their disappearing. This way the organisations will have greater eye on the contributors and can help them sustain with the community.
2128

2229
## Stack used
30+
2331
This will have a dashboard, where these things can be placed. The stack used can be any but since the organisation have fixed stack so its better to stick to Nodejs, Vue, React.
2432

2533
## Benefits to the community
34+
2635
Different communities or programs like “GirlScript Summer of Code, Codeheat, GSOC, etc would be able to track their contributors and this project will help them by not losing potential contributors and select the best from all potential candidates.
2736

2837
## Contributions Best Practices
38+
2939
**Commits**
3040

31-
- Write clear meaningful git commit messages (Do read http://chris.beams.io/posts/git-commit/)
32-
- Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (More info at https://github.com/blog/1506-closing-issues-via-pull-requests )
33-
- When you make very very minor changes to a PR of yours (like for example fixing a failing Travis build or some small style corrections or minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at https://davidwalsh.name/squash-commits-git )
34-
- When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.
41+
- Write clear meaningful git commit messages (Do read http://chris.beams.io/posts/git-commit/)
42+
- Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (More info at https://github.com/blog/1506-closing-issues-via-pull-requests )
43+
- When you make very very minor changes to a PR of yours (like for example fixing a failing Travis build or some small style corrections or minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at https://davidwalsh.name/squash-commits-git )
44+
- When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.
3545

3646
## Community
37-
All feedback and suggestions are welcome!
38-
39-
- 💬 Join the community on [Slack](https://join.slack.com/t/codeuino/shared_invite/enQtMzcxOTQwNzE4NzcxLWEyNzUxYjI0ZThiNWUyYWI5MzJlMTNmODMxN2NjMTcxODJkZmFhNTVkYmUyOTQ1YzgzNTlmMTVkYzVhMzdmNTQ )
40-
- 📣 Stay up to date on new features and announcements on the following
41-
- [@Mailing List]([email protected]).
42-
- [@Discussion Portal](https://groups.google.com/d/forum/codeuino-devel).
43-
- [@Codeuino Wiki](wiki.codeuino.org).
4447

48+
All feedback and suggestions are welcome!
4549

50+
- 💬 Join the community on [Slack](https://join.slack.com/t/codeuino/shared_invite/enQtMzcxOTQwNzE4NzcxLWEyNzUxYjI0ZThiNWUyYWI5MzJlMTNmODMxN2NjMTcxODJkZmFhNTVkYmUyOTQ1YzgzNTlmMTVkYzVhMzdmNTQ)
51+
- 📣 Stay up to date on new features and announcements on the following
52+
- [@Mailing List]([email protected]).
53+
- [@Discussion Portal](https://groups.google.com/d/forum/codeuino-devel).
54+
- [@Codeuino Wiki](wiki.codeuino.org).

babel.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ["@vue/app"]
3+
};

config/credentials.js

-3
This file was deleted.

controller/details.js

Whitespace-only changes.

jobs/everyweek.js

-10
This file was deleted.

models/user.js

-25
This file was deleted.

package.json

+27-23
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
{
22
"name": "codebadge",
3-
"version": "1.0.0",
4-
"description": "Community sustainer",
5-
"main": "server.js",
3+
"version": "0.1.0",
4+
"private": true,
65
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1",
8-
"start": "node server.js"
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"lint": "vue-cli-service lint"
99
},
10-
"repository": {
11-
"type": "git",
12-
"url": "git+https://github.com/TG1999/Codebadge.git"
13-
},
14-
"keywords": [
15-
"community",
16-
"badge"
17-
],
18-
"author": "TG",
19-
"license": "MIT",
20-
"bugs": {
21-
"url": "https://github.com/TG1999/Codebadge/issues"
22-
},
23-
"homepage": "https://github.com/TG1999/Codebadge#readme",
2410
"dependencies": {
25-
"express": "^4.16.4",
26-
"mongoose": "^5.4.22",
27-
"node-schedule": "^1.3.2",
28-
"request": "^2.88.0"
11+
"axios": "^0.18.0",
12+
"core-js": "^2.6.5",
13+
"vue": "^2.6.10",
14+
"vue-router": "^3.0.3",
15+
"vuetify": "^1.5.5",
16+
"vuex": "^3.0.1"
17+
},
18+
"devDependencies": {
19+
"@vue/cli-plugin-babel": "^3.7.0",
20+
"@vue/cli-plugin-eslint": "^3.7.0",
21+
"@vue/cli-service": "^3.7.0",
22+
"@vue/eslint-config-prettier": "^4.0.1",
23+
"babel-eslint": "^10.0.1",
24+
"eslint": "^5.16.0",
25+
"eslint-plugin-vue": "^5.0.0",
26+
"node-sass": "^4.9.0",
27+
"sass-loader": "^7.1.0",
28+
"stylus": "^0.54.5",
29+
"stylus-loader": "^3.0.1",
30+
"vue-cli-plugin-vuetify": "^0.5.0",
31+
"vue-template-compiler": "^2.5.21",
32+
"vuetify-loader": "^1.0.5"
2933
}
3034
}

postcss.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: {
3+
autoprefixer: {}
4+
}
5+
};

public/favicon.ico

4.19 KB
Binary file not shown.

public/index.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
7+
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8+
<title>codebadge</title>
9+
<link
10+
rel="stylesheet"
11+
href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"
12+
/>
13+
<link
14+
rel="stylesheet"
15+
href="https://fonts.googleapis.com/css?family=Material+Icons"
16+
/>
17+
<link
18+
rel="stylesheet"
19+
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
20+
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
21+
crossorigin="anonymous"
22+
/>
23+
</head>
24+
<body>
25+
<noscript>
26+
<strong
27+
>We're sorry but codebadge doesn't work properly without JavaScript
28+
enabled. Please enable it to continue.</strong
29+
>
30+
</noscript>
31+
<div id="app"></div>
32+
<!-- built files will be auto injected -->
33+
</body>
34+
</html>

routes/index.js

-6
This file was deleted.

server.js

-21
This file was deleted.

src/App.vue

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<template>
2+
<v-app>
3+
<v-toolbar color="white" app>
4+
<v-toolbar-title class="headline text-uppercase">
5+
<span>Codebadge</span>
6+
<span class="font-weight-light text-none">&nbsp;(Production Stage)</span>
7+
</v-toolbar-title>
8+
</v-toolbar>
9+
10+
<v-content class="content">
11+
<router-view></router-view>
12+
</v-content>
13+
</v-app>
14+
</template>
15+
16+
<script>
17+
export default {
18+
name: 'App',
19+
components: {},
20+
data() {
21+
return {
22+
//
23+
};
24+
}
25+
};
26+
</script>
27+
28+
<style lang="scss" >
29+
.content {
30+
background-color: white;
31+
}
32+
</style>

src/assets/loaders/bars.svg

+1
Loading

src/assets/loaders/block.svg

+17
Loading

0 commit comments

Comments
 (0)