First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
A modern photo sharing web application built with Next.js, React, and TypeScript.
This project is designed to practice real-world front-end concepts used in modern social apps —
including CSR/SSR, custom hooks, infinite scroll, skeleton UI, and component optimization.
- Infinite scroll powered by
IntersectionObserver - Skeleton UI for smooth loading
- Optimized PostList & PostItem components
- Server-rendered dynamic route:
/post/[id] - Automatic hydration on client
usePosts— paginated data fetchinguseInfiniteScroll— scroll-based pagination- Additional hooks planned (image upload, theme, modal)
- Skeleton loading placeholders
- Sticky header navigation
- Responsive layout
- Next.js 14+ (App Router)
- React 18
- TypeScript
- CSS Modules / Global CSS
- (Optional) Zustand, React Query — coming soon
git clone https://github.com/<YOUR_USERNAME>/devsnap.git
cd devsnap
npm install
npm run devDevSnap is built as a full learning playground for mastering modern React & Next.js fundamentals: • Component rendering strategies (CSR / SSR / hydration) • State & performance optimization • Infinite scrolling • Skeleton UI • Custom hooks architecture
It’s also a great portfolio project for front-end interviews.
DevSnap is a practice-focused photo sharing web application built to master
modern React + Next.js skills used in real production environments.
This project helps you practice:
- Rendering strategies: CSR, SSR, Hydration
- Component optimization (React.memo, useCallback, useMemo)
- Building and organizing custom hooks
- Implementing infinite scroll with IntersectionObserver
- Designing reusable UI components and layout structure
- Managing UI loading states using Skeleton UI
- Strengthening TypeScript + project architecture habits
It also serves as a strong portfolio project for front-end interviews 🚀
- Image upload with preview UI
- User authentication flow
- Like / comment interactions (optimistic UI)
- React Query integration
- Zustand global state management
- Theme toggle (dark/light)
- Improve feed virtualization (react-window)
- Server Actions adoption
- API integration (real backend / mock server)
This project is licensed under the MIT License.
Feel free to use, modify, and learn from this project.
Zen (Jinkyung Choi)
Full-Stack Developer · Burnaby, Canada
twin7014@gmail.com
c531a6dbf4bde33dd1176fd7620f1e214660bbef