examples
Next.js
Our great sponsors
examples | Next.js | |
---|---|---|
32 | 2,042 | |
3,286 | 120,572 | |
3.7% | 1.6% | |
8.6 | 10.0 | |
4 days ago | 2 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
examples
-
Direct Postgres connection to Supabase from Vercel Edge in Next.js
Is anyone aware of a way to make a direct connection to Postgres with transaction support on Vercel Edge functions? The 'pg' package doesn't work on edge for me. The obvious answer would be @vercel/postgres but I find their lack of documentation rough and for whatever reason I can't get it to connect on my local computer using the Supabase-provided local database connection string. This is apparently a known issue (https://github.com/vercel/storage/issues/123, https://github.com/vercel/examples/issues/701) where in order to make this (or neon's package) work you need a WebSocket proxy? Is a direct Postgres connection from edge just impossible right now? Or do others have it working somehow?
-
Does anyone have any experience with using nextjs as frontend and flask as backend?
I have cloned this repo: https://github.com/vercel/examples/tree/main/python/nextjs-flask. I am using the repo to make an api call from the front end to the back end. when running fetch("/api") I get an error with status 500, why is that?
-
12 Super Cool Machine Learning Projects that you didn't know are Open Source and made of JavaScript
Demo: Alt Text Generator GitHub: Alt Text Generator Repository
-
Vercel Launches 3 New Storage Options for Your Next Project!
I copied the Template that they provide for the testing, you can get the template source on GitHub. I modified its page.tsx file just to set and get a value from the database.
-
Existing NEXTJS (T3) Site + Monolithic Wordpress-Woocommerce Shop -howto AUTHENTICATION?
Take a look at this example: https://github.com/vercel/examples/tree/main/solutions/subdomain-auth
-
Update on connection pooling with Vercel
So AFAIK now with Vercel Postgres is possible to have connection pooling using prisma out of the box, this means that no more bottlenecks with lots of clients connected to the web app right? Source: https://github.com/vercel/examples/blob/main/storage/postgres-prisma/prisma/schema.prisma
-
How to Revalidate PostgreSQL Server Component in Next JS?
I have a server component that reads a database table in this new way (Vercel Next JS Postgres Example). I also have a client component that updates that calls a fetch to update the same table. How can I ensure that the data in my server component doesn't grow stale?
-
How to use Redis with Vercel Edge
Additionally, Redis can be used in combination with Vercel Edge cache using: https://github.com/vercel/examples/tree/main/edge-api-routes/cache-control
- Convert serverless function to an Edge function.
-
Step by step: Multi-Tenant App with Next.js
Hostname rewrites example
Next.js
-
System & Database Design (Day 1) - Creating a SaaS Startup in 30 Days
Next.js: For the website and the admin dashboard
-
Runtime environmental variables in Next.js 14
Until the time of writing, there is no official example of how to enable runtime environmental variables in a Dockerized Next.js app, as utilizing unstable_noStore would only dynamically evaluate variables on the server (node.js runtime). There is also an interesting discussion regarding this topic on GitHub.
-
@matstack/remix-adonisjs VS Next.js - a user suggested alternative
2 projects | 24 Apr 2024
next.js is a very popular React framework. remix-adonisjs includes more functionality through the AdonisJS backend ecosystem, and should be easier to self-host and self-manage.
-
Meet Cheryl Murphy: Full-Stack Developer, lifelong learner, and volunteer Project Team Lead at Web Dev Path
Cheryl Murphy is not only a dedicated full-stack web developer skilled in technologies like React, Next.js, and NestJs but also a community-driven professional who recently took on the role of volunteer project team lead at Web Dev Path. With a dual Bachelor's degree in Computing and Chemical Engineering from Monash University, Cheryl’s journey in tech is marked by a passion for building accessible solutions and a commitment to fostering community within tech.
-
Ensuring Type Safety in Next.js Routing
For more information, check out this issue.
-
Styling Your Site with Next.js and MUI: Creating a Dynamic Theme Switcher
Remember to start the Next.js server with pnpm dev.
- Mastering Next.js 13/14 - Advanced Techniques
- 3 Exciting Improvements Between NextJS 14 And NextJS 13
-
The best testing setup for frontends, with Playwright and NextJS
We want to share with you the best testing setup we've experienced - and this includes using Playwright and NextJS. It's a setup we've come up with for Infinite React DataGrid, which is a complex component, with lots of things to test, but this configuration has helped us ship with more confidence and speed.
-
React 19: The long-expected features
If you're acquainted with NextJs, the directives will come as no surprise.
What are some alternatives?
rwa-faunadb-reaflow-nextjs-magic - Real-world app example - Real-time Editor, using FaunaDB (realtime stream), Reaflow (graph editor), Next.js framework and a bit of Magic (auth)!
vite - Next generation frontend tooling. It's fast!
apps - daily.dev application suite
Express - Fast, unopinionated, minimalist web framework for node.
edge-functions
SvelteKit - web development, streamlined
platforms - A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
MERN - ⛔️ DEPRECATED - Boilerplate for getting started with MERN stack
developer-portal - Open source repo for the Sitecore Developer Portal (https://developers.sitecore.com)
Angular - Deliver web apps with confidence 🚀
watch-this
fastify - Fast and low overhead web framework, for Node.js