An interactive web application that helps visualize and understand Next.js project structures. This tool allows you to explore and manipulate Next.js app directory structures with a visual interface.
- Visual File Structure: Interactive tree view of your Next.js project structure
- Layout Visualization: Nested layout visualization with custom styling support
- Route Management:
- Static routes
- Dynamic routes
- Catch-all routes
- Optional catch-all routes
- Route groups
- Private routes
- Parallel routes (coming soon)
- Intercepted routes (coming soon)
- File Operations:
- Add new folders and files
- Rename files and folders
- Delete files and folders
- Customize layout styles with color picker
- Real-time Preview: See how your routes and layouts work together
- API Route Support: Dedicated view for API routes
- Modern UI: Built with shadcn/ui components and Tailwind CSS
- Next.js 15
- TypeScript
- Tailwind CSS
- shadcn/ui Components
- Framer Motion for animations
- Context API for state management
- Clone the repository:
git clone https://github.com/buraketmen/nextjs-project-structure.git
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Open http://localhost:3000 with your browser to see the result.
- Exploring Structure: Use the file tree on the left to navigate through your project structure
- Adding Files/Folders: Right-click on folders to add new files or folders
- Customizing Layouts: Click the settings icon on layout files to customize their appearance
- Previewing Routes: Select any page file to see how it appears with its parent layouts
- API Routes: API routes are automatically detected and shown in a dedicated tab