Thank you for your interest in contributing to the project! This document outlines the onboarding procedures, standard formats, pull request guidelines, and other important details to help you get started.
-
Get a Local Copy of the Repository Clone the repository to your local machine:
git clone https://github.com/ACCESS-DLSU/infinity.git
Alternatively, using Visual Studio Code, you may select the following option and find the GitHub repository:
-
Install Dependencies First, download and install Node.js (select the Installer option):
Then, use npm to install dependencies:
npm install
- Test the Application
Start the development server to ensure everything is working correctly:
The website should run in your browser at
npm run dev
http://localhost:3000.
- Push to the
devBranch: All contributions should be pushed to thedevbranch:Or in VS Code:git checkout dev
- No Direct Pushes to
main: Themainbranch is protected. All changes must go through pull requests targetingdev. - Sync Regularly: Pull the latest changes from
devbefore starting new work:git checkout dev git pull origin dev
- Feature Branches (Optional): For larger features or fixes, you may create a feature branch off
dev(e.g.,feature/your-feature-name) and push your work there before merging intodev.
- Code Style: Follow the existing code style. Use Prettier and ESLint for formatting and linting.
- Commits: Use Conventional Commits:
feat: add new featurefix: fix a bugdocs: update documentationrefactor: code refactoringtest: add or update testschore: maintenance tasks
- File Naming: Use
camelCasefor files and folders, except React components which usePascalCase. - Component Structure: Place components in the
src/directory, using one file per component when possible.
- Sync with Upstream
Before opening a PR, ensure your branch is up to date with
main:Or in VS Code:git fetch origin git rebase origin/main
- Test Your Changes Run all tests and ensure the app builds and runs locally.
- Describe Your PR Provide a clear description of your changes and reference any related issues.
- Small, Focused PRs Submit small, focused pull requests for easier review.
- Review Process At least one approval is required before merging. Address all review comments and suggestions.
- Issue Reporting: Use the issue tracker to report bugs or request features. Provide as much detail as possible.
- Code of Conduct: Be respectful and inclusive. See
CODE_OF_CONDUCT.mdfor details. - Contact: For questions, open an issue or contact the maintainers.
We appreciate your contributions and commitment to improving this project! As a private repository, your trusted collaboration, feedback, and ideas are especially valued. Together, we can build something great for our team and community. Thank you for being an essential part of this effort!



