Documentation for developers working on the Hiking Portal project.
- backend-architecture.md - Backend structure, controllers, and recent additions
- frontend-architecture.md - Frontend components and structure
- refactoring-guide.md - Code refactoring history and guidelines
- email-configuration.md - Email service setup and troubleshooting
- quick-wins.md - Quick implementation wins and improvements
- profiles-analytics-plan.md - Profile and analytics implementation plan
- Controllers: Business logic for hikes, users, payments, etc.
- Routes: API endpoints
- Middleware: Authentication, validation
- Database: PostgreSQL (Cloud SQL)
- Components: Reusable UI components
- Pages: Route-level components
- Services: API integration
- Contexts: Global state management
- Backend Changes: Edit controllers/routes → Test locally → Deploy
- Frontend Changes: Edit components → Build → Deploy to Firebase
- Database Changes: Create migration → Test → Deploy to production
- Backend: Node.js 18, Express, PostgreSQL, JWT
- Frontend: React 18, Bootstrap 5, React Router
- Infrastructure: Google Cloud Run, Firebase Hosting, Cloud SQL
# Backend syntax check
cd backend
node -c server.js
node -c controllers/*.js
node -c routes/*.js
# Frontend build
cd frontend
npm run buildFor deployment instructions, see ../deployment/README.md.