- Next.js
- Material-UI
- Formik
- React Query
- Axios
- Nest
- Redis
- Prisma
- Swagger
- MySQL
- Nx
This document outlines the rules and regulations for working with our Git repositories. These rules are designed to maintain the integrity of our codebase and ensure a smooth development process.
- All branches must be prefixed with the name of the project in kebab_case (using underscores as separators, no capital letters).
- Example:
lynkr_landing
- Example:
- The main feature branch pertains to a key feature of the project.
- Example:
lynkr_landingis the main feature branch for the landing page of Lynkr. - This branch is considered "done" when the associated feature is completed and ready for staging.
- The task feature branch pertains to subtasks required for a main feature to be completed.
- Example:
lynkr_landing_hero_section - These branches are used to work on smaller elements, making code review easier and code changes more manageable.
-
Creating Branches
- Before starting any work, create a GitHub issue that describes the task or feature to be worked on.
- Main feature tasks should reference the main feature branch's name.
- Task feature branches should reference their associated main feature using the issue number in their description.
-
Working on Tasks
- Developers should work on their assigned task feature branches.
- All commits must be done using "better-commits," referencing the relevant parts of the code.
-
Pull Requests
- After completing a task, submit a merge request to the main feature branch.
- Tag either Marco (for backend tasks) or Lorrain (for frontend tasks) as the reviewer.
- Post a message in the group with a link to the pull request for review.
- For beginners, wait for PR validation before moving on to the next task to ensure feedback and learning.
-
Validation and Merging
- Only Marco and Lorrain have the right to validate and merge PRs into main feature branches, develop, or master branches.
- Commits should be atomic, with each commit representing a single code change, facilitating easier review.
- Every task or feature must be associated with a GitHub issue.
- GitHub issues should be created before starting work to facilitate task and commit tracking.
-
Clone the repository:
git clone https://github.com/glom-oss/glom.git -
Change to the project directory:
cd glom -
Install dependencies:
npm install -
Create a .env file by following the .env.lynkr.skeleton template.
-
Start an application using Nx:
npx nx serve <app name>Replace with the name of your specific application.
These rules and regulations are in place to ensure the efficient and organized development of our projects. Adhering to these guidelines will help us maintain code quality and a smooth development process.