How khushboo-sainii/blog-website works
Project type and purpose
• This is a front-end single-page application (SPA) built with React and styled with Tailwind CSS. Its purpose is to display a responsive, paginated blog listing with category and tag filters. There is no server code in this repo, so it’s a purely client-side application that fetches its data from an external API or CMS.
File structure
• Top-level directories:
• public/ — static HTML and manifest for PWA support
• src/ — all React source files
• Inside src/:
• components/ — reusable UI pieces (Header, Blogs list, BlogDetails, Pagination)
• pages/ — route-level views (Home, BlogPage, CategoryPage, TagPage)
• context/AppContext.js — React Context for global state and data fetching
• baseUrl.js — central configuration for the API endpoint
• Config files: package.json (dependencies, scripts), tailwind.config.js (styling)
Supplementary README insights
• Features: dynamic routing, category filtering, pagination
• Tech stack: React, React Router, Context API, Tailwind CSS
• No mention of server; it assumes an external JSON or headless CMS endpoint for blog data.