Skip to content

ngKisor/nextjs-starter-app

Repository files navigation

Nextjs starter app

This is a Next.js project bootstrapped with create-next-app. using App Router

Prerequisites


Features

Getting Started

The best way to start with this template is using create-next-app.

$ npx create-next-app <application-name> -e https://github.com/ngKisor/nextjs-starter-app
$ cd <application-name>
$ rm -rf .git
$ pnpm install

Make a copy of .env.example as .env and update your Auth0 credentials

Running the app

$ pnpm run dev

Navigate to http://localhost:3000/ to see Auth ready application

Building the app

$ pnpm run build

Generate Lighthouse report of the root page in local

$ pnpm run lighthouse

Using Docker

Using docker-compose

Use docker-compose to quickly bring up a stack with pre-configured settings. Data is ephemeral and containers will disappear when stack is removed.

Bring up stack,

$ docker-compose up

Navigate to http://localhost:3000/ to verify application is running from docker.

Bring down stack,

$ docker-compose down

Contributing

For contribution and feature requests, please create an issue first.

License

Nextjs-Starter-App is under MIT License.

Why Use Auth0?

Auth0 is a flexible drop-in solution to add authentication and authorization services to your applications. Your team and organization can avoid the cost, time, and risk that come with building your own solution to authenticate and authorize users. We offer tons of guidance and SDKs for you to get started and integrate Auth0 into your stack easily.

About

A starter template with Next js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published