Skip to content

Moamal-2000/nextjs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

next js

Next.js v16 Starter Template

This is a modern starter template designed for developers to kickstart their Next.js v16 projects. It comes pre-configured with essential tools and best practices to accelerate development and reduce boilerplate setup.


Features

  • Next.js v16: The latest version of Next.js with optimized performance and features.
  • Organized Folder Structure: Clean and extensible architecture for better maintainability.
  • State Management: Integrated with Redux Toolkit for advanced state management.

Getting Started

Clone the Repository

Start by cloning the repository:

git clone git@github.com:Moamal-2000/nextjs-template.git

Install Dependencies

Ensure you have Node.js installed on your machine. Then run:

npm install

Or, if you prefer Yarn:

yarn install

Run the Development Server

To start the local development server, use:

npm run dev

Your application will be available at http://localhost:3000 by default.


Build for Production

To create an optimized production build, run:

npm run build

You can then serve the build using:

npm run start

Folder Structure

  • /app: Contains the app's routes and API endpoints.
  • /components: Reusable UI components.
  • /styles: Global and helper style files.
  • /hooks: Custom React hooks for shared logic.
  • /redux: State management setup with Redux Toolkit.
  • /public: Static assets like images and fonts.

Customization

This template is designed to be flexible and extendable. Feel free to customize it to fit your specific project requirements.


Contributing

Contributions are welcome! If you have ideas for improvement or find any issues, feel free to fork the repository, make your changes, and open a pull request.

About

Next.js v16 Starter Template, For React v19 + Vite : https://github.com/Moamal-2000/react-vite-template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors