Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Next.js release blog #288

Merged
merged 40 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2fae34e
chore: add changelog index
tobySolutions Sep 13, 2024
2757cd1
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 16, 2024
48e4bdb
feat: add OFAC documentation to domains page
tobySolutions Sep 16, 2024
c6045ff
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 17, 2024
8d0e460
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 22, 2024
84fb7cd
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 23, 2024
0e5058b
chore: pullng
tobySolutions Sep 24, 2024
669dc46
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 24, 2024
d59b7ea
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 24, 2024
e6498e5
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 26, 2024
84c3002
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Sep 27, 2024
5717d97
chore: checkout
tobySolutions Sep 27, 2024
0336b4f
chore: pulling
tobySolutions Sep 30, 2024
c8baac7
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 1, 2024
4dea0be
chore: checkout
tobySolutions Oct 1, 2024
7c4d9fd
chore: pulling
tobySolutions Oct 3, 2024
5af2745
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 4, 2024
9d070f5
Update index.md
0xAidan Oct 8, 2024
e6d944f
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 11, 2024
bb9150d
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 14, 2024
d9df0c9
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 14, 2024
15593e3
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 15, 2024
cc62d43
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 18, 2024
d37a90c
Merge branch 'develop' of https://github.com/fleek-platform/website i…
0xAidan Oct 21, 2024
7a571de
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 23, 2024
76e082b
Merge branch 'develop' of https://github.com/fleek-platform/website i…
0xAidan Oct 23, 2024
2011d98
Merge branch 'develop' of https://github.com/fleek-platform/website i…
0xAidan Oct 24, 2024
16dec2b
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 28, 2024
c0a78f6
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 30, 2024
b80d268
Merge branch 'develop' of https://github.com/fleek-platform/website i…
0xAidan Oct 30, 2024
eb8fbde
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Oct 30, 2024
d9e108a
Merge branch 'develop' of https://github.com/fleek-platform/website i…
0xAidan Oct 31, 2024
5923663
chore: nextjs guides
0xAidan Nov 1, 2024
4a69bd2
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Nov 4, 2024
07e64bc
Merge branch 'develop' into nextjs-release
tobySolutions Nov 4, 2024
d20e71e
chore: next.js blog
0xAidan Nov 4, 2024
931557d
chore: next-js-release
0xAidan Nov 4, 2024
14a15e8
Merge branch 'develop' of https://github.com/fleek-platform/website i…
tobySolutions Nov 4, 2024
fb5b1a2
Merge branch 'next-js-release' of https://github.com/fleek-platform/w…
tobySolutions Nov 4, 2024
f583edb
chore: fix formatting and branching issues
tobySolutions Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions src/content/blog/announcements/nextjs-support-release/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
title: 'Introducing Fullstack Next.js Support on Fleek: Build, Deploy, and Scale Dynamic Apps with Ease'
date: 2024-11-04
desc: Fullstack Next.js support is live on Fleek. Deploy apps with SSR and SSG on an edge-optimized platform for top performance and control.
thumbnail: ./njsthumb.jpeg
image: ./njsthumb.jpeg
---

Today, we're excited to launch support for fullstack **Next.js apps and sites** on Fleek! With this release, developers can now effortlessly deploy apps and experience **server-side rendering (SSR)** and **static site generation (SSG)** functionality directly within Fleek's edge-optimized platform, unlocking unparalleled scalability, performance, and control.

## **Why Next.js on Fleek?**

At Fleek, we’re committed to empowering developers with innovative tools that are reliable and cutting-edge. With our new [**Next.js support**](https://fleek.xyz/docs/platform/frameworks/), deploying full-stack applications to Fleek has never been easier. Developers can now build apps and sites leveraging Fleek’s robust infrastructure coupled with Next.js’s powerful framework — simplifying the developer experience while optimizing for performance and cost.

## **Key Features in This Release**

For this release, we’ve focused on the core features that developers require to build and scale Next.js apps seamlessly on Fleek. Here’s what’s available starting today:

- **App Router & Pages Router**: Full compatibility with Next.js's app and page routing systems ensures that applications of any size can run smoothly on Fleek’s edge network.
- **Route Handlers**: Define custom server-side route handlers for more flexibility in handling requests.
- **Dynamic Routes**: Create dynamic routes within your app, enabling personalized content and advanced routing logic.
- **Static Site Generation (SSG)**: Pre-render pages at build time, optimizing load speeds and improving user experience.
- **Server-Side Rendering (SSR)**: Generate pages on request, ensuring content is always up-to-date without sacrificing performance.
- **Middleware**: Run code before a request is completed, allowing you to handle redirects, authorization, and more, at the edge.

---

## **How to Get Started**

Get started deploying a Next.js application on Fleek with the `**fleek-next` CLI\*\* tool. Here are the steps to get your app or site up and running:

1. **Install the [Fleek CLI](https://fleek.xyz/docs/cli/)**: Install the `fleek-next` package, a tailored CLI tool optimized for Fleek’s infrastructure. Simply run `npm i @fleek-platform/next` on your terminal.
2. **Set Your Edge Runtime**: In your server-side code, set `export const runtime = 'edge';` to ensure compatibility with Fleek’s edge network.
3. **Build**: Use `fleek-next build` to build your application. If you’re working outside your project’s root directory, simply add the `-p` or `--projectPath` flag to specify your file path.
4. **Deploy**: Finally deploy your application using `fleek functions deploy --bundle=false --path .fleek/dist/index.js --assets .fleek/static`. This command will prompt you to add the function name, so ensure that you run `fleek functions create -–name <function-name>` beforehand.

For more details, check out the Getting Started Guide, GitHub, or [Docs](https://fleek.xyz/docs/platform/frameworks/), or try the setup via [NPM](https://www.npmjs.com/package/@fleek-platform/next).

---

## **Looking Ahead**

And this is just the beginning. Our **Phase 2 release** will bring even more power to Next.js apps on Fleek, including **Incremental Static Regeneration (ISR)**, **Image Optimization**, **Streaming Support**, and more.

Here’s what’s coming:

- **Incremental Static Regeneration (ISR)**: Imagine the best of both worlds—high-speed static performance with real-time updates. ISR will allow your app to serve pre-rendered pages lightning-fast while staying fresh with the latest data on demand. No more full rebuilds; just seamless updates exactly when and where you need them.
- **Image Optimization**: Fully optimized images, served at edge speed. Next.js on Fleek will handle image resizing, compression, and format conversion automatically, so your media-heavy apps load faster and look sharper. This means smoother UX and a boost in site performance across devices—your users will love it.
- **Streaming Support**: With Streaming, Fleek takes your app’s interactivity to a new level, sending content to users as it’s generated. This opens the door to interactive experiences that load fast and keep audiences engaged, even with complex or data-rich applications.
- **Lazy Loading, Caching & More**: Performance is a non-negotiable, and Fleek is working on bringing you even more control with fine-tuned caching strategies, lazy loading for route handlers enabling optimized page loads, and advanced edge configurations. These optimizations mean users won’t just experience your app—they’ll be _immersed_ in it.

---

## **A New Era for Web Development on Fleek 🌐**

At Fleek, our mission is to empower developers by creating open-source tools and infrastructure that enable you to build unstoppable and performant apps, without compromise. The addition of fullstack Next.js on Fleek represents another step toward that vision — unlocking access to dynamic content on an unstoppable, edge-optimized developer platform.

We believe in an internet where developers retain full control of their IP, non-negotiable performance, and an open-source codebase. By supporting Next.js with Fleek’s infrastructure, we’re enabling anyone to push the limits of what's possible in web development and create a new standard of accessibility, sovereignty, and transparency.

Our releases are a testament to our mission of advancing the open web and making powerful, open-source tools accessible to all builders, innovators, and dreamers. Join us in shaping the future of the internet—one open, unstoppable, and developer-first deployment at a time. We’d also like to give a special shout out to [OpenNext](https://opennext.js.org/), [next-on-pages](https://github.com/cloudflare/next-on-pages), and [Vercel](https://vercel.com/) for enabling us to bring fullstack Next.js to Fleek.

## **Join the Fleek Community**

Ready to explore Next.js on Fleek? Join our exclusive builder channel in [Discord](discord.gg/fleek) to share feedback, follow our updates on [X](https://x.com/fleek), and don’t hesitate to show us what you’re cooking up. Together, we’re building the unstoppable future of the internet.

### Get started building on Fleek:

- [Sign Up](https://app.fleek.xyz/)
- [Fleek CLI](https://fleek.xyz/docs/cli/)
- [Fleek SDK](https://fleek.xyz/docs/sdk/)
- Templates
- Getting Started with Next.js on Fleek
- [Beginners guide to SSR](https://fleek.xyz/blog/learn/server-side-rendering-explained/)
- [Edge SGX](https://fleek.xyz/docs/cli/edge-sgx/)
- [Fleek Functions](https://fleek.xyz/docs/cli/functions/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.