KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
nextjs-demo-app-router
★ 34
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
nextjs-keycloak
:
Configure Authenitcation in Nextjs 13 App router Applicationwith Keycloak
lemonsqueezy-nextjs
:
How to implement subscription model using LemonSqueezy in Next.js (13.4 stable app router)
nextjs-ledger
:
Nextjs项目练手,界面仿微信记账本小程序,包含前后端代码。 App Router模式,使用最新的Reduxjs Toolkit进行状态管理,此框架大量简化使用Redux时要写的样板代码,学习Nextjs和Redux的可以fork和star此项目,经常会更新功能和修改bug。
convex-nextjs-app-router-demo
:
Demo showing a Next.js App Router app powered by Convex backend
wails-template-nextjs-app-router
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
nextjs-demo-app-router
?
Download (.md)
 # Welcome to the Descope and NextJS App Router Template: Building Blocks Included This is a sample consumer app built by Descope to showcase the Descope Flows functionality with NextJS. It also includes useful hooks, utilities, and components to get started. ## One-click Deploy You can deploy this template to Vercel with the button below: [](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fdescope-sample-apps%2Fnextjs-demo-app-router&env=NEXT_PUBLIC_DESCOPE_PROJECT_ID) ## Technology Stack and Capabilities ### Core Frameworks - [Next.js](https://nextjs.org/): A React framework designed for building high-performance applications with an exceptional developer experience. - [Descope](https://descope.com): Use no-code workflows to easily add authentication, authorization, and identity management to any customer-facing app. ### Deployment Platforms - [Vercel](https://vercel.com/): Provides a seamless way to preview and deploy changes directly from git repositories. ### User Interface (UI) - [Tailwind CSS](https://tailwindcss.com/): A utility-first CSS framework that accelerates the process of UI development. - [Radix](https://www.radix-ui.com/): Offers foundational components like modals and popovers for enhancing user interfaces. - [Lucide](https://lucide.dev/): Offers a collection of simple and precise icons for web projects. - [`next/font`](https://nextjs.org/docs/basic-features/font-optimization): Enables custom font optimization, eliminating the need for external network requests, thereby boosting performance. - [`ImageResponse`](https://nextjs.org/docs/app/api-reference/functions/image-response): Allows for the dynamic generation of Open Graph images at the edge for improved sharing capabilities. ### React Hooks and Utility Functions - `useIntersectionObserver`: A React hook to detect when an element becomes visible or hidden in the viewport. - `useLocalStorage`: Enables the persistent storage of data within the browser's local storage. - `useScroll`: A React hook to monitor scroll events and positions within an application. - `nFormatter`: Simplifies the display of numbers by adding suffixes (e.g., `1.2k` for 1200). - `capitalize`: A utility function to capitalize the first letter of a string for improved readability. - `truncate`: Allows for the shortening of strings to a specific length, useful for creating concise text previews. - [`use-debounce`](https://www.npmjs.com/package/use-debounce): Debounces function calls or state updates, helping to optimize performance and reduce unnecessary processing. ### Ensuring Code Quality - [TypeScript](https://www.typescriptlang.org/): A static type-checking tool offering end-to-end type safety for robust development. - [Prettier](https://prettier.io/): An opinionated code formatter that standardizes code style across projects. - [ESLint](https://eslint.org/): A configurable linter tool tailored for Next.js and TypeScript projects, ensuring code quality and consistency. - ## Set up In order to launch this app: #### 1. Clone the repo ``` git clone git@github.com:descope-sample-apps/nextjs-demo-app-router.git ``` #### 2. Set up Descope environment variables in `.env` file ``` NEXT_PUBLIC_DESCOPE_PROJECT_ID="YOUR PROJECT ID" // Required for Descope authentication ``` _You can get your project-id [here](https://app.descope.com/settings/project)_. #### 3. Install dependencies ``` npm i ``` #### 4. Start the app Run this command to start the app: ``` npm run dev ``` #### 5. Open the app Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.