/nextjs-api

A detailed guide to Building Rest API in Next.js 15.

Primary LanguageTypeScript

Next APIs

A detailed guide to Building Rest API in Next.js 15.


Getting Started

The first step is to clone the next-api project with a git command.

git clone  https://github.com/officialrajdeepsingh/nextjs-api.git

# change folder
cd  next-api

The next step is to install the Node Package Using the Node package manager.

pnpm install
# or
yarn install
# or
npm install

Lastly, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.