This project demonstrates how to run a Next.js application using Deno. It's a complete tutorial example showing how to set up, develop, and deploy a Next.js app in the Deno runtime environment.
You can deploy your own version of this Next.js app to Deno Deploy immediately. Just click the button to clone and deploy.
This tutorial project shows you how to:
- Set up a Next.js project
- Run your project on Deno
- Add a simple backend API route
- Update the frontend to fetch data from the backend
- Deploy your Next.js app to Deno Deploy
For the complete step-by-step of this tutorial, visit: Next.js Tutorial on Deno Docs
First, run the development server:
deno run devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
You can deploy this project on Deno Deploy! To get started, follow these steps:
- Go to the Deno Deploy dashboard.
- Click on "New Project".
- Select your GitHub repository.
- Follow the prompts to deploy your Next.js application.
- Once deployed, you will receive a URL where your application is live.