Before you begin, ensure you have met the following requirements:
- You have installed Node.js (v22).
- You have installed pnpm.
- You have a Git client installed.
- You have a prisma database url set up and running.
-
Clone the repository:
git clone https://github.com/pulkit-30/next-starter.git cd next-starter
-
Install dependencies:
pnpm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add the necessary environment variables as specified in
.env.example
.
- Create a
-
Run the development server:
pnpm run dev
-
Open your browser:
- Navigate to
http://localhost:3000
to see the application running.
- Navigate to