We're excited that you're interested in contributing to Fa3liat! This project aims to provide a world-class ticketing experience, and your help makes that possible.
- Fork the Repository: Create your own copy of the project on GitHub.
- Clone the Repo:
git clone https://github.com/your-username/graduation_project.git cd fa3liat - Setup the Environment: Follow the README.md instructions to configure your
.envand Docker environment.
Always create a new branch for your work:
git checkout -b feature/amazing-feature
# OR
git checkout -b fix/annoying-bug- Consistency: Adhere to the existing code style (Prettier configuration included).
- ES Modules: We use
import/exportsyntax exclusively. - JSend: All API responses must follow the JSend pattern:
{ "status": "success", "data": { ... } } - Error Handling: Throw
AppErrorsubclasses from thesrc/errorsdirectory.
- Write unit tests in the
/testsfolder using Jest. - Run the test suite before submitting:
npm test
Keep your commits surgical and descriptive. We prefer the Conventional Commits format:
feat:New featuresfix:Bug fixesdocs:Documentation changesrefactor:Code refactoring without behavioral changes
- Push your branch to your fork.
- Open a Pull Request (PR) against our
mainbranch. - Provide a clear summary of your changes and reference any related issues.
- Our team will review your PR as soon as possible!
Thank you for being part of the Fa3liat community!