Skip to content

nirnejak/nextjs-typescript-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

02f5ae3 · Apr 6, 2025
Jul 8, 2024
Sep 7, 2024
May 29, 2024
Sep 14, 2022
Mar 28, 2025
Dec 18, 2024
Jun 18, 2024
Jan 28, 2025
Mar 23, 2025
Jan 28, 2025
Jan 29, 2025
Jun 23, 2023
Mar 22, 2022
Jul 14, 2023
Feb 27, 2025
Mar 22, 2022
Mar 22, 2022
Mar 22, 2022
Jan 23, 2025
Apr 6, 2025
Feb 15, 2025
Feb 15, 2025
Dec 12, 2024
Dec 12, 2024
Apr 6, 2025
Jan 24, 2025
Jan 28, 2025
Mar 31, 2025

Repository files navigation

Next.js TypeScript Starter


Included

  • not found page page to handle 404 routes
  • config.ts container site information to be used for seo and schema.org data
  • seo.ts util to generate SEO metadata and schema.org
  • manifest.json for site info
  • classnames util for easily managing classes
  • components/atoms/Button.tsx a button component with variants
  • hooks/useClickOutside hook to check if user clicked outside the element
  • hooks/useModal hook to create modals, which can close with esc

Additional Packages Used

  • next-view-transitions - for page smooth transitions
  • Tailwind CSS - for styling(with typography plugin)
  • Framer Motion - for animations
  • Akar Icons - library for rounded icons
  • Sonner - for toast messages
  • use-sound - for using sounds
  • Class Variance Authority - for type-safely managing class names

Available Scripts

Install Dependencies

bun install

Setup Pre-commit

bun run prepare

Start Development Server

bun run dev

Lint all the files

bun run lint

Format all files with Prettier

bun run format

Check TypeScript issues

bun run type-check

Build for Production

bun run build

Start Production Server

bun start