A responsive blog post listing application built with React, featuring a grid layout that adapts to different screen sizes.
- Responsive grid layout (1, 2, or 3 columns based on screen size)
- Semantic HTML for better accessibility
- CSS Modules for scoped styling
- React Router for navigation
- Mock data integration
- Node.js (v14 or higher)
- npm (v6 or higher)
Follow these steps to set up and run the project locally:
-
Clone the repository
git clone https://github.com/stef-writes/reactBlog.git cd reactBlog -
Install dependencies
npm install
-
Start the development server
npm run dev
-
View the application Open your browser and navigate to
http://localhost:5173
src/
├── blog-post-component/ # Individual blog post component
├── blog-list-component/ # Blog post list container
├── mock-data/ # Mock data for development
├── App.jsx # Main application component
└── main.jsx # Application entry point
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
- React
- Vite
- React Router
- CSS Modules