To contribute to the project, follow these steps to set up your development environment:
Ensure you have Node.js installed. You can download it from here.
-
Clone the Repository:
Clone the project repository using the following command:git clone <repository-url>
-
Install Dependencies:
Navigate to the project directory and install all necessary dependencies:npm install
-
Run the Development Server:
Start the project in development mode:npm run dev
-
Mobile Responsiveness:
All components created must be fully responsive across mobile, tablet, and desktop devices. -
Code Quality and Best Practices:
Ensure that your code follows established best practices for clean code, modularization, readability, and performance.- Use semantic HTML tags.
- Keep CSS styles organized following proper TailwindCSS guidelines.
- Ensure that all components are optimized for performance.
-
Component Structure:
Only use the/componentsfolder assigned to your specific section. Do not create a common/componentsfolder or modify components outside of your assigned section to avoid confusion and merge conflicts.
-
Commit Changes:
Ensure all changes are committed with meaningful commit messages. Follow this convention for commit messages:<type>(<scope>): <description>
Example:
feat(ButtonComponent): add mobile responsiveness -
Branch Naming:
Create a new branch for your changes. Use the following naming convention for branches:<ComponentName:YourName> -
Create Pull Request:
Submit a pull request (PR) addressing only a single issue at a time. Make sure to address all feedback and comments. Be prepared to do follow-up changes if necessary.
-
Issues and PRs:
Each pull request should address only one issue. Do not combine multiple issues into a single PR. -
Task Assignment:
Work only on the tasks assigned to you. Avoid making changes to components or PRs that belong to other team members unless specifically requested. -
Testing:
Thoroughly test your components before submitting them, ensuring they work across different screen sizes.
- Visit the reference website for design and functionality context:
Hackathon Website
Use the following resources for development:
-
Version Control:
Ensure that you frequently pull from the main branch to keep your local branch updated and avoid conflicts. Regularly check for conflicts and resolve them quickly. -
Code Reviews:
Always review the code of other contributors before merging PRs. Follow-up changes should be added through additional commits rather than force-pushing to the same branch.
-
Font: To Be Determined (TBD)
-
Color Scheme:
The primary colors are Purple, Black, and the original palette of the reference website. -
Assets: Any additional design assets will be uploaded and stored in the project’s designated folder.
-
Browser Compatibility:
Ensure that your components work seamlessly across all major browsers—Chrome, Firefox, Edge, and Safari. -
Linting and Formatting:
Make sure to run the linter before submitting a PR:npm run lint
Adhere to the project's formatting standards, ensuring that the code is clean and consistent across the team.
-
Unit Testing (if applicable):
If required, write unit tests for your components. Testing is critical to avoid breaking changes and to ensure smooth functionality across different environments.
For any doubts or clarifications, please reach out to:
- Hitesh Shivkumar
Contact: +91 93218 40748