<<<<<<< HEAD
A vanilla HTML, CSS, and JavaScript donation matching platform connecting donors with verified recipients across Ethiopia.
- Donation Posting: Users can post items they want to donate with photos, descriptions, and location
- Request System: Recipients can request specific items with urgency levels
- Interactive Map: Visual map showing all donations and requests across Ethiopian cities
- Search & Filter: Advanced filtering by category, type, and search terms
- Item Details: Detailed view for each donation/request with all information
- User Authentication: Sign up, login, and user session management
- Dashboard: Personal dashboard showing statistics and recent activity
- LocalStorage: All data persists in browser localStorage
- SessionStorage: User sessions maintained across pages
- No Backend Required: Fully functional without server-side code
- Form Validation: Real-time validation with helpful error messages
- Image Preview: Preview uploaded images before submission
- Notifications: Toast notifications for success/error messages
- Responsive Design: Works on desktop, tablet, and mobile devices
- Ethiopian Theme: Color scheme inspired by Ethiopian flag
helpethiopia/
βββ index.html # Homepage
βββ items.html # Browse all items
βββ donate.html # Post donation form
βββ request.html # Request item form
βββ map.html # Interactive map view
βββ item-detail.html # Individual item details
βββ login.html # User login
βββ signup.html # User registration
βββ dashboard.html # User dashboard
βββ signup-success.html # Registration success page
βββ donation-success.html # Donation posted success
βββ request-success.html # Request submitted success
βββ css/
β βββ style.css # All styles (no frameworks)
βββ js/
β βββ data.js # Data management & localStorage
β βββ main.js # Items page functionality
β βββ utils.js # Utility functions (validation, notifications)
βββ images/ # Image assets
- Modern web browser (Chrome, Firefox, Safari, Edge)
- No server or build tools required!
- Download or clone the project
- Open
index.htmlin your web browser - That's it! The app is ready to use
- Click "Sign Up" to create an account
- Fill in your details and select your role (Donor/Recipient/NGO)
- Login with your credentials
- Start posting donations or making requests!
- Sign Up/Login as a Donor
- Click "Post a Donation"
- Fill in item details:
- Item name and category
- Condition and quantity
- Upload a photo (optional)
- Add description
- Submit and your item appears on the map and browse page
- Sign Up/Login as a Recipient
- Click "Make a Request"
- Fill in request details:
- What you need
- Category and urgency level
- Your location
- Contact information
- Submit and your request is visible to donors
- Use the search bar to find specific items
- Filter by category (Food, Clothes, Books, etc.)
- Filter by type (Donations or Requests)
- Click "View Details" to see full information
- Click markers on the map to see location-based items
- HTML5: Semantic markup
- CSS3: Custom styles with CSS variables, Grid, Flexbox
- Vanilla JavaScript: No frameworks or libraries
- LocalStorage API: Data persistence
- SessionStorage API: User session management
- FileReader API: Image upload and preview
// All data stored in localStorage
StorageManager.addItem(itemData);
StorageManager.getItems();
StorageManager.updateItem(id, updates);
StorageManager.deleteItem(id);// Real-time validation
FormValidator.validateForm(formElement);
FormValidator.isValidEmail(email);
FormValidator.isValidPhone(phone);// Toast notifications
Notification.success('Item posted!');
Notification.error('Please fill all fields');
Notification.info('Loading...');- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+
The platform is fully responsive with breakpoints at:
- Desktop: 1200px+
- Tablet: 768px - 1199px
- Mobile: < 768px
Inspired by the Ethiopian flag:
- Green (#2d963c): Primary actions, donations
- Yellow (#f4c430): Secondary actions, highlights
- Red (#d9381e): Urgent items, requests
- Dark (#1a1a1a): Text
- Light (#f7f7f7): Background
Important: This is a client-side only application for demonstration purposes.
For production use, you should:
- Implement server-side authentication
- Hash passwords (currently stored in plain text)
- Add CSRF protection
- Sanitize user inputs
- Use HTTPS
- Implement proper session management
- Add rate limiting
Potential features to add:
- Real-time messaging between donors and recipients
- Email notifications
- Admin approval workflow
- Rating and review system
- Advanced matching algorithm
- Export data functionality
- Multi-language support (Amharic, Oromo, etc.)
- Integration with real mapping services (Google Maps, Leaflet)
- Mobile app version
- Social media sharing
This project is open source and available for educational purposes.
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
For questions or issues:
- Open an issue on GitHub
- Contact: [email protected] (example)
- Design inspired by Freecycle, Byside Community Care, and Wegenfund
- Ethiopian flag colors for cultural relevance
- Community-driven approach to charitable giving
Built with β€οΈ for the Ethiopian community
b9237e795f9870f91db684cf57e87d881f7d8325