Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto eol=lf
*.{js,jsx,ts,tsx,json,yml,yaml,md} text eol=lf
.husky/* text eol=lf
9 changes: 4 additions & 5 deletions .github/ISSUE_TEMPLATE/DMP_2026.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ body:
- type: textarea
id: ticket-setup
attributes:
label: Setup/Installation
label: Setup/Installation
description: Please list or link setup or installation guide (if any)

- type: textarea
Expand Down Expand Up @@ -191,11 +191,11 @@ body:
attributes:
label: Domain
options:
- ⁠Healthcare
- ⁠Healthcare
- ⁠Education
- Financial Inclusion
- ⁠Livelihoods
- ⁠Skilling
- ⁠Skilling
- ⁠Learning & Development
- ⁠Agriculture
- ⁠Service Delivery
Expand All @@ -204,7 +204,6 @@ body:
validations:
required: true


- type: dropdown
id: ticket-technical-skills-required
attributes:
Expand Down Expand Up @@ -307,7 +306,7 @@ body:

- type: dropdown
id: ticket-category
attributes:
attributes:
label: Category
description: Choose the categories that best describe your ticket
multiple: true
Expand Down
21 changes: 17 additions & 4 deletions .github/ISSUE_TEMPLATE/c4gt.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,59 @@ name: C4GT
about: C4GT Community Issues Template
title: "[C4GT] Button for likes"
labels: C4GT Community
assignees: ''

assignees: ""
---

## Description

[Provide a brief description of the feature, including why it is needed and what it will accomplish. You can skip any of Goals, Expected Outcome, Implementation Details, Mockups / Wireframes if they are irrelevant. Please note that this section of the ticket is suggestive & you can structure it as per your prerogative.]

## Goals

- [ ] [Goal 1]
- [ ] [Goal 2]
- [ ] [Goal 3]
- [ ] [Goal 4]
- [ ] [Goal 5]

## Expected Outcome

[Describe in detail what the final product or result should look like and how it should behave.]

## Acceptance Criteria

- [ ] [Criteria 1]
- [ ] [Criteria 2]
- [ ] [Criteria 3]
- [ ] [Criteria 4]
- [ ] [Criteria 5]

## Implementation Details

[List any technical details about the proposed implementation, including any specific technologies that will be used.]

## Mockups / Wireframes

[Include links to any visual aids, mockups, wireframes, or diagrams that help illustrate what the final product should look like. This is not always necessary, but can be very helpful in many cases.]

---

[Please note that the below section of the ticket ****has to be in the format as mentioned as it is key to enabling proper listing of the project.**** Please only choose the options mentioned under the headings wherever applicable.]

### Product Name
[Product Name: For eg: Beckn, Sunbird Obsrv etc]

[Product Name: For eg: Beckn, Sunbird Obsrv etc]

### Project Name
[Project Name: Descriptive of the ticket]

[Project Name: Descriptive of the ticket]

### Organization Name:

[Organization Name]

### Domain

[Area of governance]

<!-- Choose area of governance from the following list
Expand Down Expand Up @@ -87,16 +95,21 @@ assignees: ''
-->

### Tech Skills Needed:

[Required technical skills for the project]

### Mentor(s)

[@Mentor1] [@Mentor2] [@Mentor3]

### Complexity

Pick one of [High]/[Medium]/[Low]

### Category

Pick one or more of [CI/CD], [Integrations], [Performance Improvement], [Security], [UI/UX/Design], [Bug], [Feature], [Documentation], [Deployment], [Test], [PoC]

### Sub Category

Pick one or more of [API], [Database], [Analytics], [Refactoring], [Data Science], [Machine Learning], [Accessibility], [Internationalization], [Localization], [Frontend], [Backend], [Mobile], [SEO], [Configuration], [Deprecation], [Breaking Change], [Maintenance], [Support], [Question], [Technical Debt], [Beginner friendly], [Research], [Reproducible], [Needs Reproduction].
14 changes: 6 additions & 8 deletions .github/ISSUE_TEMPLATE/c4gt_community.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: C4GT Community Template
description: Create a new Ticket for C4GT Community
title: "[C4GT Community]: "
labels: ["Please add the C4GT Community Label on all tickets that you will list. In addition to this, please add whichever labels best describe your project from this list: C4GT Community, C4GT Coding, C4GT Design, C4GT Mentorship, C4GT Bounty, C4GT Advisory"]
labels:
[
"Please add the C4GT Community Label on all tickets that you will list. In addition to this, please add whichever labels best describe your project from this list: C4GT Community, C4GT Coding, C4GT Design, C4GT Mentorship, C4GT Bounty, C4GT Advisory",
]
body:
- type: textarea
id: ticket-description
Expand Down Expand Up @@ -201,7 +204,7 @@ body:

- type: dropdown
id: ticket-complexity
attributes:
attributes:
label: Complexity
description: Choose a complexity describing the complexity of your ticket
multiple: false
Expand All @@ -214,7 +217,7 @@ body:

- type: dropdown
id: ticket-category
attributes:
attributes:
label: Category
description: Choose the categories that best describe your ticket
multiple: true
Expand Down Expand Up @@ -249,8 +252,3 @@ body:
- Other
validations:
required: true





4 changes: 1 addition & 3 deletions .github/MILESTONE/milestone.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Week 1

## Milestones

- [ ] Give the description about Milestone 1
- [ ] Give the description about Milestone 2
- [ ] Give the description about Milestone 3
Expand All @@ -11,6 +12,3 @@
## Contributions

## Learnings



26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Run lint checks
run: npm run lint
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
.husky/_
.DS_Store
*.log
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
5 changes: 5 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*.{md,markdown}": ["prettier --write"],
"*.{json,yml,yaml}": ["prettier --write"],
"*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"]
}
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
package-lock.json
.git/
.husky/
Archive/
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"trailingComma": "es5",
"proseWrap": "preserve"
}
8 changes: 1 addition & 7 deletions Community.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
</tr>
</table>


<table>
<tr>
<td>Name</td>
Expand Down Expand Up @@ -243,8 +242,6 @@
</tr>
</table>



<table>
<tr>
<td>Name</td>
Expand Down Expand Up @@ -321,7 +318,6 @@
</tr>
</table>


<table>
<tr>
<td>Name</td>
Expand Down Expand Up @@ -454,8 +450,6 @@
</tr>
</table>



<table>
<tr>
<td>Name</td>
Expand Down Expand Up @@ -872,7 +866,7 @@
<td>NIT Rourkela</td>
</tr>
</table>

<table>
<tr>
<td>Name</td>
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,21 @@ Learn more about C4GT on our wiki page 👉🏻 https://github.com/CodeForGoodTe
<img src="https://img.shields.io/static/v1?message=LinkedIn&logo=linkedin&label=&color=0077B5&logoColor=white&labelColor=&style=for-the-badge" height="35" alt="linkedin logo" />
</a>
</div>

## Contributing & Development Setup

To maintain consistent formatting and code quality, this repository uses [Husky](https://typicode.github.io/husky/) and [lint-staged](https://github.com/lint-staged/lint-staged) for automated pre-commit linting.

### Setup

1. Install project dependencies:
```bash
npm install
```
2. Git hooks are automatically enabled via `prepare` script (`husky`).
3. When creating a commit (`git commit`), `lint-staged` will automatically run formatters and linters on staged files.
4. You can also manually format or check files:
```bash
npm run lint # Check formatting
npm run format # Auto-format files
```
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default [
{
ignores: ["node_modules/**", "package-lock.json", ".husky/_/**"],
},
];
Loading