Skip to content

Introducing the Next.js App Router Starter Template! ๐Ÿš€ Fast-track Next.js app development with pre-configured essentials like fonts, services, and API routes. ๐ŸŽจ Simplify dynamic routing, streamline state management with Redux and Zustand, and ensure robust architecture with Formik and Yup. ๐Ÿ—๏ธ Build scalable, maintainable apps effortlessly!

Notifications You must be signed in to change notification settings

araza95/Nextjs-app-router-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Zenkoders | Project Structure - NEXT JS

public

  • assets: Static Images

src

  • components

    • Button
      • index.tsx
    • HigherOrderComponent
      • index.tsx
  • contextAPI || Redux || Zustang || Or any state management package

    • Add your state management files here.
  • mocks

    • Add your mock data files here
  • hooks

    • Add your custom hooks here
  • libs

    • Add libs extension here.
  • providers

    • All providers that are used in your _app.tsx should be separately defined in providers folder.
  • Schema

    • Schema related to Formik, Yup or React Hook form should be planed in here with specific file name.
    • If NextJS Apis are used so then the back-end database modules schema should be defined here
  • pages

    • api
      • Add your API routes here
    • users
      • [uid].tsx
      • index.tsx
    • auth
      • login.tsx
      • register.tsx
  • styles

    • global.css
  • types

    • interfaces
      • user.interface.ts
    • enums
      • subscriptionStatus.enum.ts
  • utils

    • Add utility functions here (e.g., date formatting, string manipulation)
  • config

    • Add configuration files here (e.g., theme, app settings)
    • Any configuration required in your project should be added in config file. For example: Fonts Configuration
  • services

    • API.ts
    • AxiosRequests.ts
  • views

    • Registration
      • index.tsx

Project Files

  • .env.example
  • .env.staging
  • .env.production
  • .gitignore
  • next.config.js
  • package.json
  • README.md

About

Introducing the Next.js App Router Starter Template! ๐Ÿš€ Fast-track Next.js app development with pre-configured essentials like fonts, services, and API routes. ๐ŸŽจ Simplify dynamic routing, streamline state management with Redux and Zustand, and ensure robust architecture with Formik and Yup. ๐Ÿ—๏ธ Build scalable, maintainable apps effortlessly!

Topics

Resources

Stars

Watchers

Forks

Languages