Welcome to Trellis, a simplified Trello clone built with React, Redux, Node, Express and MongoDB. The following guidelines will give you a short overview of how we handle issues and PRs in this repository.
We appreciate all valuable contributions - bug reports, documentation and design enhancements, issues as well as Pull Requests to make Trellis more convenient, functional and bug free.
To begin contributing have a look at the open issues here.
- Clone the repository
git clone https://github.com/ayushagg31/Trellis.git
cd Trellis
- Install dependencies
npm i && cd client && npm i
- Create
.env
file
REACT_APP_CLIENT_KEY="YOUR API KEY" // Unsplash API Key
- Create
dev.env
for development and test.env for testing purpose
cd ../config
(
echo PORT=1313
echo DATABASE_URL="MongoDB Connection String"
echo JWT_SECRET="YOUR JWT TOKEN"
echo NODE_ENV=development
) > dev.env
- Go into
client/package.json
and replace proxy with your server port
"proxy": "http://localhost:1313"
- Run the project
npm run trellis
- Provide detailed description about the issue and mark it with the relevant labels.
- If it's a bug, provide steps to reproduce the bug. If possible suggest the ways to resolve it.
- If it's a feature request, share your thoughts about the final outcome.
- Don't create duplicate issues, checkout the issue section before reporting it.
- Request assignment to the issue before working
- Provide the reference to the issue, for which pull request is created
- Provide detailed description about the changes you have made and the expected outcome, feel free to share images/gif for the outcome.
- Don't submit independent PR's. First create issue, once approved, submit your PR.
- Don't submit un-linted code, read instructions for linting below.
- Only start working on issues, once assigned by the maintainers.
- Don't request assignment on more than one issue at a time.
- ❗ Please provide progress update after a week, if you're not working on the issue, request to unassign.
- ❗ Issues will be unassigned, if there's no activity/updates from the assignee within a week.
- If you are making changes in frontend (client directory), run
npm run format
to format the code. - If you are making changes in backend, run
npm run lint:fix
to lint the code.