Thank you for your interest in contributing to AudioBlock Backend! This document outlines the process for setting up your environment, our coding standards, and how to submit a Pull Request.
-
Fork and clone the repository: ```bash git clone https://github.com/YOUR_USERNAME/AudioBlock_Backend.git cd AudioBlock_Backend ```
-
Install dependencies: ```bash npm install ```
-
Set up environment variables: Copy the example environment file and configure it as needed. ```bash cp .env.example .env ```
-
Run the development server: ```bash npm run dev ```
Please refer to our Coding Conventions document for detailed guidelines on how to format and structure your code. Our project uses ESLint and Prettier to enforce these standards. Run npm run lint:fix before submitting your code.
- Create a branch named according to the feature or fix (e.g.,
feature/add-new-endpoint,fix/issue-123). - Ensure your commit messages are clear and descriptive.
- Test your changes locally (
npm run test). - Push your branch and open a Pull Request using our PR Template.
Reviewers will look for:
- Adherence to coding standards (no lint errors, complexity warnings addressed).
- Proper test coverage for new logic.
- Clear commit messages and a detailed PR description.
Please use our issue templates when filing new issues: