This repo is for the group project of CSCI 2340 - Software Engineering @Brown University
A super cool project that utilizes LLM✨ to generate code for UI components!
👋 Welcome! Please follow these guidelines to contribute directly to the repository and ensure smooth collaboration.
This repository follows a structured branching strategy with three categories of branches:
-
main: 🚀 The production-ready branch. Code here should always be stable and error-free. Only the CI/CD bot is allowed to merge changes into this branch after passing all validation checks. It is deployed directly to production (e.g., Vercel). -
dev: 🔄 The development integration branch. All contributors merge their work here after review. Thedevbranch must also be stable and pass all tests, serving as a buffer before deploying tomain. -
users/{username}/{feature-name}: 🛠️ Individual branches where contributors work on their own features or fixes. Contributors are free to develop here and submit pull requests to thedevbranch once the feature is complete and tested. The individual branch will get deleted after a successful pull request.
Please adhere to this branch structure for a smooth and organized workflow.
- First, clone the repository to your local machine:
git clone https://github.com/junkaiman/ui-generator.git
- Always work on a separate branch named using the convention
users/{your-username}/{feature-name}. This keeps your work isolated and easy to review.git checkout -b users/{your-username}/{feature-name}
- Implement your feature or fix, making sure to follow the project’s coding standards. 📏
- Write tests for your code, where applicable, to ensure everything works as expected. ✔️
- Commit your changes regularly with clear commit messages:
git commit -m "Description of the change"
- Push your changes to the main repository under your user-specific branch:
git push origin users/{your-username}/{feature-name}
- Once you're done, submit a pull request (PR) from your branch to the
devbranch.⚠️ Notice it'sdev, notmain. - Ensure your PR includes:
- A clear title and description of the changes. 📝
- Confirmation that all tests pass. ✅
- Any necessary documentation updates.
- Your PR will be reviewed by other contributors or maintainers. 🕵️♂️ Feedback will be provided, and you may need to make updates based on the suggestions.
- Be responsive and ready to update your PR as needed. 🔄
- Once your PR is approved and all tests pass, it will be merged into the
devbranch. 📥 - Periodically, the
devbranch will be merged intomainvia CI/CD automation. ⚙️
- Keep your branch up to date with the latest changes from the
devbranch:git pull origin dev
- Always write clean, maintainable code. 🧹
- Ensure all tests pass before submitting your PR. 🧪
If you have any questions, feel free to reach out to the maintainers or post in the issues section. 💬