Overview:
Taxonomy at the Edge is an experimental application optimized to run in the Edge Runtime. It is a fork of the original Taxonomy application and has undergone several changes to make it compatible with the edge runtime. The purpose of this application is to deploy a pre-built, state-of-the-art Next.js application on Cloudflare Pages, which requires the edge runtime.
Features:
- New /app directory
- Routing, Layouts, Nested Layouts, and Layout Groups
- Data Fetching, Caching, and Mutation
- Loading UI
- Route handlers
- Metadata files
- Server and Client Components
- API Routes and Middlewares
- Authentication using Firebase Auth with next-firebase-auth-edge
- ORM using Drizzle
- Database on PlanetScale using the Serverless Driver
- UI Components built using Radix UI
- Documentation and blog using MDX and next/mdx
- Subscriptions using Stripe, adapted to work in edge runtime
- Styled using Tailwind CSS
- Validations using Zod
- Written in TypeScript
Installation:
To run the Taxonomy at the Edge application locally, follow the steps below:
- Install the dependencies using pnpm:
pnpm install
Copy the
.env.examplefile to.env.localand add your own variables.Start the development server:
pnpm run dev
Summary:
Taxonomy at the Edge is an experimental application optimized to run in the Edge Runtime. It is a modified version of the original Taxonomy application, with various changes made to enable compatibility with the edge runtime. This application offers several features, such as routing, data fetching, authentication, and more. By deploying this application on Cloudflare Pages with the edge runtime, users can experience improved performance and 0ms cold starts.