A minimal and customizable template for building modern web applications using Next.js.
- Project Name: Next.js Boilerplate
- Description: My personal template for Next.js
- Author: Pavel Kuzyakin kuzyak.in
- Version: 1.0.0
- Next.js: Fast server-side rendering and static site generation.
- TypeScript: Enhances code quality with static typing.
- ESLint: Ensures consistent code style.
- Sass/SCSS: Simplifies styling using SCSS.
- Project Structure: Clear folder organization for maintainability.
- Environment Variables: Easy configuration for different environments.
-
Clone the repository:
git clone https://github.com/iposho/next-js-boilerplate.git cd next-js-boilerplate
-
Install dependencies:
npm install
To start the development server:
npm run dev
The application will be available at http://localhost:5000.
To build the application for production:
npm run build
The build will be created in the .next
directory.
Currently, tests are not set up. You can add them as needed.
/src
: Main source code, including components and styles./public
: Static files and assets./styles
: Global and component-specific styles./tests
: Tests for components (can be added in the future).
dev
: Start the development server.build
: Build for production.start
: Run the production server.lint
: Lint code with ESLint.
- Environment Variables: Use
.env.local
for managing environment variables. - ESLint: Configuration is in
.eslintrc.json
. - Stylelint: Configuration is in
.stylelintrc.json
.
Contributions are welcome! Please submit issues or pull requests.
This project is licensed under the MIT License.
This README was generated with the assistance of ChatGPT.