A comprehensive web-based dashboard application for managing products, clients, and posts with a modern, responsive design.
- Product Management: Full CRUD operations for product inventory
- Client Management: Customer data management with contact information
- Post Management: Content management system with API integration
- User Authentication: Secure login system
- Theme Support: Dark/Light mode toggle
- Responsive Design: Mobile-friendly interface
- Local Storage: Persistent data storage using browser localStorage
- Search & Filter: Advanced search capabilities across all modules
- Keyboard Shortcuts: Enhanced productivity with hotkeys
- Form Validation: Input validation and error handling
- Interactive UI: Hover effects and smooth transitions
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Storage: Browser localStorage API
- APIs: JSONPlaceholder for sample posts
- Icons: Font Awesome 6.4.0
- Images: Picsum for placeholder images
- Forms: Formspree for contact form handling
- Clone or download the project files
- Open
login.htmlin your web browser - Login with credentials:
- Username:
admin - Password:
admin
- Username:
- Navigate through the dashboard modules
- Add, edit, delete products
- Calculate totals with taxes, ads, and discounts
- Bulk operations (create multiple items)
- Search by title or category
- Data validation and error handling
- Store customer contact information
- Search by name or email
- Update and delete client records
- Export-friendly data structure
- Fetch posts from JSONPlaceholder API
- Create and manage custom posts
- Image integration with Picsum
- Read-only API posts vs editable user posts
- Simple admin authentication
- Session persistence
- Automatic redirects for unauthorized access
| Shortcut | Action |
|---|---|
Ctrl + N |
Create new item |
Ctrl + S |
Save current item |
Ctrl + F |
Focus search field |
Delete |
Delete all items (with confirmation) |
Escape |
Clear form and cancel operations |
The application supports both dark and light themes:
- Dark Theme: Default professional dark interface
- Light Theme: Clean light interface for better readability
- Theme preference is saved in localStorage
- Mobile-first approach
- Flexible layouts that adapt to screen sizes
- Touch-friendly interface elements
- Optimized for tablets and desktop
- Create new HTML file following the dashboard template
- Add navigation link in the sidebar
- Implement corresponding JavaScript logic
- Update CSS for styling consistency
- Edit
dashboard.cssfor global dashboard styles - Modify
style.cssfor form and component styles - Update CSS custom properties for theme colors
All data is stored in localStorage with the following keys:
product: Product inventory dataclient: Customer informationuserPosts: User-created poststheme: Theme preferenceauth: Authentication status
- Local Storage Dependency: All data is stored locally in the browser
- No Backend: This is a client-side only application
- Demo Credentials: Use
admin/adminfor login - API Integration: Posts module uses JSONPlaceholder for demo data
- Fork the repository
- Create a feature branch
- Make your changes
- Test across different browsers
- Submit a pull request
This project is open source and available under the MIT License.
Yousef Reda Habib
- Email: yousef7abib2008@gmail.com
- Backend integration with REST API
- Advanced user roles and permissions
- Data export/import functionality
- Advanced analytics and reporting
- Real-time notifications
- Multi-language support
- Advanced search and filtering options
Built with ❤️ for efficient business management