How abu-0-rayhan/fibernook works
Project type and purpose
• Fibernook is a full-stack e-commerce application for sustainable clothing.
• Frontend: ReactJS SPA, styled with Tailwind CSS, state managed by Redux.
• Backend: Django + Django REST Framework (DRF) serving JSON APIs.
• Data store: SQLite (for development), models organized into two Django apps: “authentication” and “shop.”
File structure
• Top-level “backend” and “frontend” directories.
• Backend:
• manage.py, settings.py, wsgi/asgi for Django project orchestration
• “authentication” app (user models, serializers, views, URLs)
• “shop” app (product models, serializers, views, URLs)
• db.sqlite3 for development persistence
• requirements.txt listing Django, DRF, others
• Frontend:
• index.html, main.jsx, App.jsx as SPA entry points
• src/components for presentation components (Navbar, Footer, Pages)
• src/features (Redux slices: authSlice, userSlice, titleSlice)
• src/services (shopApi, userAuthApi, LocalStorageService)
• Vite and Tailwind config files for build and styling
README for additional insights
• Confirms key features: RESTful authentication endpoints, product catalog endpoints, responsive UI, efficient state management, Tailwind styling.