You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add improvements for new community contributors
- Add comprehensive Postman collection with fieldMappings and all API endpoints
- Create Node.js, Python, and React example applications
- Add developer integration test suite
- Extend CONTRIBUTING.md with complete setup guidelines
@@ -8,41 +8,240 @@ Thanks for taking the interest in contributing ♥. We really appreciate any sup
8
8
- Select an issue from [here](https://github.com/revertinc/revert/issues) or create a new one
9
9
- Consider the results from the discussion in the issue
10
10
11
+
## Good First Issues
12
+
13
+
Looking for a place to start? Check out issues tagged with [good first issue](https://github.com/revertinc/revert/labels/good%20first%20issue). These are curated tasks suitable for new contributors.
14
+
15
+
## Development Setup
16
+
17
+
### Prerequisites
18
+
19
+
- Node.js 16+ (Check `.nvmrc` for the exact version)
We provide example implementations to help you understand the API:
105
+
106
+
#### Node.js Example
107
+
```bash
108
+
cd examples/nodejs
109
+
npm install
110
+
cp .env.example .env
111
+
# Update .env with your credentials
112
+
npm start # Runs on http://localhost:3000
113
+
```
114
+
115
+
#### Python Example
116
+
```bash
117
+
cd examples/python
118
+
python3 -m venv venv
119
+
source venv/bin/activate
120
+
pip install -r requirements.txt
121
+
cp .env.example .env
122
+
# Update .env with your credentials
123
+
python app.py # Runs on http://localhost:5000
124
+
```
125
+
126
+
#### React Custom UI Example
127
+
```bash
128
+
cd examples/custom-ui
129
+
npm install
130
+
cp .env.example .env
131
+
# Update .env with your API endpoint
132
+
npm start # Runs on http://localhost:3000
133
+
```
134
+
135
+
### Developer Test Suite
136
+
137
+
Run integration tests against the API:
138
+
139
+
```bash
140
+
cd examples/dev-tester
141
+
npm install
142
+
cp .env.example .env
143
+
# Update .env with your test credentials
144
+
npm test# Runs smoke tests
145
+
```
146
+
11
147
## Developing
12
148
13
-
- The development branch is <code>main</code>. All pull request should be made against this branch.
149
+
### Git Workflow
150
+
151
+
- The development branch is <code>main</code>. All pull requests should be made against this branch.
14
152
- If you need help getting started, [join us on Discord](https://discord.gg/q5K5cRhymW).
15
153
- Use [Conventional Commits](https://www.conventionalcommits.org/) to keep everything nice and clean.
16
154
- Choose your branch name using the issue you are working on and a conventional commit type.
17
155
18
-
1.[Fork](https://help.github.com/articles/fork-a-repo/) this repository to your
19
-
own GitHub account and then
20
-
[clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
156
+
1.[Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
- Create a new branch (include the issue id and something readable):
170
+
### Pull Request Checklist
24
171
25
-
```sh
26
-
git checkout -b feat/<feature-description>
27
-
```
172
+
Before submitting a PR, ensure:
28
173
29
-
3. See the individual [package's](https://github.com/revertinc/revert#packages) README for instructions on how to build each from source.
0 commit comments