Official website for the Office of Student Affairs and Services at Colegio de Montalban.
- React 19 - UI framework
- Vite 7 - Build tool with HMR
- React Router 7 - Client-side routing
- Ant Design 5 - UI component library
- SWC - Fast JavaScript compiler
# Install dependencies
npm install
# Start development server
npm run dev
# Open http://localhost:3000# Regular build (client-side only)
npm run build
# Build with pre-rendering (SEO optimized)
npm run build:prerenderThis project supports static site generation for improved SEO and performance. The pre-rendering process:
- Fetches all dynamic routes from the API (announcements, organizations)
- Renders each page with Puppeteer
- Saves fully-rendered HTML files for each route
- Enables instant page loads and better search engine indexing
See PRERENDERING.md for detailed documentation.
- ✅ Production deployments
- ✅ When SEO is important
- ✅ When you want faster initial page loads
- ❌ During development (use
npm run dev)
src/
├── components/ # Reusable components (Header, Footer)
├── contexts/ # React contexts (Mobile detection)
├── pages/ # Page components (routes)
├── policies/ # Markdown policy documents
├── styles/ # Global styles and CSS
└── utils/ # Helper functions
- 📱 Responsive design (mobile-first)
- 🔍 SEO optimized with dynamic meta tags
- 🎨 Ant Design component system
- 📝 Markdown rendering for content
- 🖼️ Image optimization
- 📅 Event calendar
- 📋 Downloadable forms
- 🏢 Organization directory
- 📢 Announcements system
The app connects to a backend API:
- Development:
http://localhost:3001 - Production:
https://api.iosas.online
npm run dev- Start development servernpm run build- Build for productionnpm run build:prerender- Build with pre-renderingnpm run preview- Preview production buildnpm run lint- Run ESLint
- Create a feature branch
- Make your changes
- Test locally with
npm run dev - Submit a pull request
© Colegio de Montalban 2025