npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-next-core-base

v1.1.17

Published

CLI tool to create Next Base projects with feature selection

Readme

🚀 Create a New Next.js Project Instantly

You can scaffold a new project using:

npx create-next-core-base

🚀 Next Base - Next.js Starter Project

Welcome to Next Base, a powerful and developer-friendly boilerplate to jump start your Next.js projects with everything already configured — just clone and start building.

Built with Next.js 13+, this starter includes all the essentials for a modern frontend workflow using TypeScript, TailwindCSS, Redux, Axios, and more.


🧰 Tech Stack


📁 Folder Structure


public/
├── images/
└── screenshots/                   # add for seo

src/
├── app/                           # App routes, layouts, and route handlers (App Router)
│   ├── layout.tsx                 # Root shared layout (e.g. header, footer, theme)
│   ├── page.tsx                   # Home page ("/")
│   ├── about/
│   │   └── page.tsx               # About page
│   ├── contact/
│   │   ├── page.tsx               # Contact page
│   ├── dashboard/                # Protected area with its own layout
│   │   ├── layout.tsx            # Dashboard layout (e.g. sidebar)
│   │   ├── page.tsx              # Dashboard landing page
│   │   └── settings/
│   │       ├── page.tsx          # Settings page
│   │       ├── error.tsx         # Error boundary for this section
│   │       └── not-found.tsx     # Custom 404 page only for this section
│   ├── api/                      # API routes using Next.js route handlers
│   │   ├── auth/
│   │   │   ├── login/route.ts    # Login API route
│   │   │   └── register/route.ts # Register API route
│   │   └── user/
│   │       └── route.ts          # User data API route

├── assets/                       # add fonts and logo and icon here
│   ├── fonts/
│   └── icons/

├── components/                   # Reusable UI components
│   ├── ui/                       # Buttons, inputs, forms, etc.
│   ├── layout/                   # Header, Footer, Sidebar, etc.
│   └── shared/                   # Shared components like Card, Avatar, Badge

├── features/                     # Feature-based folder structure
│   ├── auth/
│   │   ├── components/           # Auth-specific UI (e.g. LoginForm)
│   │   ├── hooks/                # Auth-specific custom hooks
│   │   ├── services/             # Auth API logic (e.g. login, register)
│   │   ├── types.ts              # Auth-related TypeScript types
│   │   └── validation.ts         # Form validation schema for auth
│   └── blog/                     # Blog feature module

├── hooks/                        # Global reusable custom React hooks

├── lib/                          # Low-level libraries and utilities
│   ├── base/                     # Axios requests base
│   │   ├── delete/
│   │   ├── get/
│   │   ├── patch/
│   │   ├── post/
│   │   └── put/
│   └── requestHelpers/           # helper functions

├── store/                        # Global state management
│   ├── index.ts                  # store file
│   ├── provider.tsx              # create provider in file for next 15 "use client"
│   └── slice/                    # folder for create slices

├── services/                     # External API interaction logic
│   └── userService.ts            # User-related API functions

├── types/                        # Global TypeScript types and interfaces
│   ├── api.d.ts                  # API-specific types
│   └── common.d.ts               # Shared/common types

├── utils/                        # General utility functions (e.g. formatPhone, validateEmail)

├── constants/                    # Constant values (e.g. roles, messages, routes)
│   ├── roles.ts
│   ├── messages.ts
│   └── routes.ts


├── styles/                       # Global CSS/Tailwind styles
│   ├── globals.css               # Global styles (e.g. resets, base styles)
│   └── tailwind.css              # Tailwind imports and customization

✨ Features

  • ✅ Pre configured and ready to use out of the box
  • 📦 Feature-based architecture
  • 🎯 SEO optimized with next-seo
  • 📊 Responsive design with Tailwind
  • 🧼 Linting, formatting, and commit quality enforced
  • 🧃 Integrated toast system for UX feedback
  • 🔌 Global axios instance with interceptors
  • 🔁 Redux Toolkit with devtools enabled
  • 🧠 Custom hook setup ready (e.g. useAxios, useDebounce)
  • 🧱 Scalable for large apps or startups

🛠 Getting Started

Clone the repository and install dependencies:

git clone https://github.com/alihoushngi/Next-Base.git
cd next-base
npm install
npm run dev

🔭 Roadmap

  • Add built-in Auth support 🔐
  • Add dark mode switch 🌙
  • Add unit & integration test samples 🧪
  • Add i18n & multilingual setup 🌍
  • Generate static pages (SSG) for SEO-critical content 📈

👨‍💻 Author

Ali Hooshangi – Frontend Developer
📫 [email protected] 🔗 linkedin.com/in/alihoushangi
💻 github.com/alihoushngi 🛠 github.com/alihoushngi/Next-Base-CLI


“Skip setup. Start building.” ✨
⭐ If you like this project, give it a star!