Skip to content

A starter project using NextJS and lcl.host for HTTPS in development

Notifications You must be signed in to change notification settings

anchordotdev/nextjs-lclhost-starter

Repository files navigation

Introduction

A NextJS 14+ starter project using lcl.host to create HTTPS in local development environment

This starter kit is composed of:

  • Next.js - App router
  • Tailwind
  • Typescript
  • Prettier / Prettier-plugin-tailwind
  • Husky / Lint-staged
  • SVG import through @svgr/webpack

Installation

brew install anchordotdev/tap/anchor
anchor lcl

Follow the set up process in the cli. Once directed to the setup page, follow the instructions there. You can skip step 1, as the anchor-pki and next.config file has already been updated for you.

Create .env.local and add your generated tokens and values from that step to that file.

Your project is now secure with HTTPS in your local dev environment!

To run the development server:

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about lcl.host and Anchor, take a look at the following resources:

About

A starter project using NextJS and lcl.host for HTTPS in development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published