/nextjsssl

Repo configuring a nextjs localhost environment for development with ssl

Primary LanguageCSSGNU General Public License v3.0GPL-3.0

The https://briangetsbinary.com nextjs https and localhost tutorial

This repo is an example of configuring a Next.js application for https development on localhost usinga windows development environment. It was bootstraped with create-next-app.

Getting Started

Step by step instructions with an explanation can be viewed on the following blog post....

Install choco

Install openssl for windws

Generate localhost certificate

Install generated certificate

Install npm Dependencies

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

run nextjs application

npm run start

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