Getting Started

Develop multiple projects from a single NextJS codebase

By: Marco Pegoraro
Published: April 8, 2025

42Go NextJS is a boilerplate that helps you create and maintain multiple independent projects from a single NextJS codebase.

This was my personal pain point when considering to buy or create a NextJS boilerplate:

I have many little projects to run, and I didn't want to spent time moving features across, or updating dependencies.

After all, vibe coding is cool and let me move fast. But it generates code that is far from being modular and portable!

Here are the main principles that lead the development of this boilerplate:

  • hej
  • hoho
  • huhu

Development Environment

Once you get access to the codebase, clone it locally:

git clone https://github.com/marcopeg/42go-next-multi

You only need NodeJS 18+ to create your project.

Next, you need to setup a PostgreSQL database.

Via Docker:

make db

get more info

Via NeonDB:

get more info

Dynamic Configuration

[[to be completed]]

Feature Flags

[[to be completed]]

Reusable & Configurable Features

[[to be completed]]