This is the Arduino Day PH 2025 website repository project for the Arduino community in the Philippines.
- Website Frontend Documentation
Ensure you have the following installed:
-
Create a New folder where you can store the project file to be referred as the Project Folder
-
Open command prompt, change current directory to as the Project Folder
cd <PATH TO PROJECT FOLDER>
- Clone the repository, add
.
on the end to extract files to current directory.
git clone https://github.com/ArduinoDayPH2025/arduino-ph-2025.git .
- Install dependencies
npm install
- Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
π¦ arduino-ph-2025
βββ π .next
βββ π node_modules
βββ π public # Static assets
βββ π src
β βββ π app # Next.js app directory (routing & pages)
β β βββ π components # Reusable UI components
β β β βββ π features # Feature-specific components
β β β βββ π ui # Generic, reusable UI components
β β βββ π context # Global state management (React context)
β β βββ π lib # Utility functions and helpers
β β βββ π types # TypeScript types and interfaces
βββ .gitignore
βββ eslint.config.mjs
βββ next-env.d.ts
βββ next.config.ts
βββ package.json
βββ postcss.config.mjs
βββ README.md # Project documentation
βββ tailwind.config.ts # Tailwind CSS configuration
βββ tsconfig.json # TypeScript configuration
βββ .prettierrc.json # Prettier configuration
βββ package-lock.json
We use GitHub Projects to manage tasks and issues. Follow these steps when working on issues:
- Go to the GitHub Issues page.
- Assign issue to yourself.
- Move the issue to "In Progress" in the project board.
- Use the branching convention.
- Start coding!
- Reference the issue in the PR description (e.g.,
Closes #123
). - Move the issue to "Review" in the project board.
- Once approved, the PR gets merged into
develop
. - The issue is moved to "Done."
Branch Type | Naming Convention | Example |
---|---|---|
Main | main |
main |
Development | dev |
dev |
Feature | feature/ISSUE-ID-feature-name |
feature/123-add-auth |
Bugfix | bugfix/ISSUE-ID-issue-name |
bugfix/234-fix-footer |
Hotfix | hotfix/ISSUE-ID-critical-fix |
hotfix/345-fix-login |
git checkout dev
git pull origin dev
git checkout -b feature/ISSUE-ID-feature-name
Example:
git checkout -b feature/123-add-login-auth
git add .
git commit -m "feat(auth): add login authentication (Closes #123)"
git push origin feature/ISSUE-ID-feature-name
- Go to GitHub
- Open a new PR from feature/ISSUE-ID-feature-name β develop
- Use the PR Template below
<type>(<scope>): <description>
This project follows Conventional Commits.
Type | Description |
---|---|
feat | A new feature |
fix | A bug fix |
docs | Documentation changes |
style | Code style changes (formatting, etc.) |
refactor | Code changes that neither fix a bug nor add a feature |
perf | Performance improvements |
test | Adding or modifying tests |
chore | Maintenance and other minor tasks |
git commit -m "feat(auth): add user authentication with JWT "
git commit -m "fix(navbar): resolve mobile responsiveness issue "
git commit -m "docs(readme): update contribution guide "
<type>(<scope>): <short description>
Example
feat(auth): add user login functionality
fix(navbar): resolve mobile responsiveness issue
β¨ Whatβs New?
- [x] Briefly explain what was added
π· Screenshots of website (IMPORTANT)
_Add relevant screenshots/gifs_
π Related Issues
Closes #ISSUE_NUMBER
β
Checklist (from issue)
- [ ] Code follows project conventions
- [ ] Linted & formatted
- [ ] Tested locally