A modern web application for managing forest restoration projects across Indonesia. Built with Svelte, TypeScript, and TailwindCSS.
- Interactive dashboard with real-time analytics
- Interactive map view for restoration areas
- Field report management system
- Team management and coordination tools
- Carbon absorption statistics
- Comprehensive settings management
- Frontend Framework: Svelte + TypeScript
- Build Tool: Vite
- Styling: TailwindCSS
- Routing: svelte-spa-router
- Charts: Chart.js with svelte-chartjs
- Maps: Leaflet with svelte-leaflet
- Icons: lucide-svelte
- Date Handling: date-fns
- Node.js 18.x or higher
- npm 9.x or higher
- Clone the repository:
git clone <repository-url>
cd forest-restoration-dashboard
- Install dependencies:
npm install
- Start the development server:
npm run dev
The application will be available at http://localhost:5173
src/
├── components/ # Reusable components
│ └── layout/ # Layout components
├── routes/ # Page components
├── stores/ # Svelte stores
├── utils/ # Utility functions
├── App.svelte # Root component
└── main.ts # Application entry point
To create a production build:
npm run build
The build output will be in the dist
directory.
This project can be easily deployed to Vercel. Here's how:
- Create a Vercel account if you haven't already
- Install Vercel CLI:
npm install -g vercel
- Deploy:
vercel
Or configure automatic deployments by connecting your repository to Vercel:
- Go to Vercel Dashboard
- Click "New Project"
- Import your repository
- Configure build settings:
- Framework Preset: Vite
- Build Command:
npm run build
- Output Directory:
dist
- Click "Deploy"
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production build locallynpm run check
- Run TypeScript checks
The project uses:
- TypeScript for type safety
- ESLint for code linting
- Prettier for code formatting
Demo credentials for testing:
- Email: [email protected]
- Password: password123
- Implement Supabase backend integration
- Set up authentication with Supabase Auth
- Create database schema for projects, reports, and teams
- Implement real-time data synchronization
- Add real-time chat functionality for team communication
- Implement file upload for field reports
- Add offline support for field data collection
- Create mobile app version using Capacitor
- Implement multi-language support (ID/EN)
- Integrate satellite imagery for monitoring
- Add drawing tools for area marking
- Implement heat maps for restoration progress
- Add time-lapse visualization of forest growth
- Add machine learning for growth prediction
- Implement advanced carbon calculation
- Create downloadable PDF reports
- Add comparative analysis tools
- Add community forum
- Implement crowdfunding system
- Create volunteer management system
- Add educational resources section
- Implement comprehensive test coverage
- Add CI/CD pipeline
- Optimize performance and loading times
- Implement PWA features
- Add error tracking and monitoring
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Tree icons created by Lucide
- Map data provided by OpenStreetMap
- Stock photos from Pexels