Thank you for considering contributing to Ecoview API! We appreciate your interest in making our project better.
Please note that this project is governed by our Code of Conduct. Be sure to review and adhere to these guidelines.
Ecoview API is written in Golang and uses GoFiber as the web framework. It also relies on PostgreSQL and Redis for data storage and Pub/Sub for messaging in a microservices architecture.
- Install Golang.
- Install Docker for running PostgreSQL and Redis containers.
- Fork and clone the Ecoview API repository.
If you haven't already, fork the Ecoview API repository on GitHub. This will create your copy of the project.
Create a new branch for each contribution. Use a descriptive branch name that reflects the purpose of your changes.
git checkout -b feature/new-feature
Follow the Go official coding conventions and the specific guidelines mentioned in the codebase. Use tools like gofmt
and golint
to maintain code consistency.
Write comprehensive tests for new features and ensure that existing tests pass. Use tools like go test
to run tests.
Maintain clear and concise code comments. If you introduce new features, update the project's documentation accordingly. For API changes, ensure that the OpenAPI specification is updated.
- Ensure your code adheres to the guidelines mentioned above.
- Test your changes thoroughly.
- Update the project documentation if necessary.
- Open a pull request against the
main
branch of the original Ecoview API repository.
If you encounter any issues or have suggestions, feel free to open a GitHub issue. Provide detailed information about the problem and steps to reproduce it.
Reach out our development team at dev.ecoview@gmail.com to discuss ideas and ask questions.