create-t3-app
Next.js
Our great sponsors
create-t3-app | Next.js | |
---|---|---|
183 | 2,033 | |
23,199 | 120,098 | |
2.9% | 1.2% | |
9.2 | 10.0 | |
3 days ago | 6 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.
create-t3-app
-
Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
import { unstable_noStore as noStore } from "next/cache"; import Link from "next/link"; import { CreatePost } from "~/app/_components/create-post"; import { getServerAuthSession } from "~/server/auth"; import { api } from "~/trpc/server"; export default async function Home() { noStore(); const hello = await api.post.hello.query({ text: "from tRPC" }); const session = await getServerAuthSession(); return (
Create T3span> App h1>
First Steps →h3>
Just the basics - Everything you need to know to set up your database and authentication. div> Link>Documentation →h3>
Learn more about Create T3 App, the libraries it uses, and how to deploy it.div> Link> div>{hello ? hello.greeting : "Loading tRPC query..."}p>
{session && Logged in as {session.user?.email}span>} p> {session ? "Sign out" : "Sign in"} Link> div> div> div> main> ); } async function CrudShowcase() { const session = await getServerAuthSession(); if (!session?.user) return null; const latestPost = await api.post.getLatest.query(); return (
{latestPost ? (Your most recent post: {latestPost.name}p> ) : (
You have no posts yet.p> )} div> ); }
-
Interview with Senior JavaScript Developer 2024 [video]
I thought he was making stuff up - "t3 stack vs t4 stack". But about 2 minutes in, I realized that I'd heard of a few things that he's talking about so I looked it up and they're real!
I think it's possible everything he's saying is true, more or less. LOL
-
Localized tRPC errors
We start with a project that was bootstrapped with create-t3-app. For internationalization we use next-intl and set it up as described in the getting started guide. With this initial project setup we can jump into implementing localized error messages.
-
Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack
I used create-t3-app to scaffold the Next.js app, with TypeScript, Prisma, and "app router" enabled in the options. You can also use create-next-app for the job and install Prisma manually.
-
Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?
I would recommend - https://create.t3.gg/
It uses the following, which as of late are pretty well know and common, so you can punch in your problems to stackoverflow, google, or chatgpt and get some pretty good answers.
It uses:
Nextjs (React), typescript, trpc (typescript rpc), auth, tailwind, and Prisma (ORM)
Though of course these could go out of fashion tomorrow, but I don't think the essential idea behind these libs and frameworks are that wacky, unique or unordinary.
Prisma ORM, is a little opinionated, and you could swap it out for Drizzle, which is basically typescript side sugared SQL.
TRPC might be also be a little sticky because it is tied to typescript, this is the tradeoff for the buttery smooth coupling for the fullstack experience. I think there exists a typed-rest solution out there, but haven't used it.
Personal anecdata, I used this stack for a little hobby project and it was FUN.
-
You don't need to pay for SaaS boilerplates - Open SaaS
Open SaaS was built with Typescript, and because it’s a full-stack app, type safety from the back-end to the front-end can be a real lifesaver. I mean, some opinionated stacks have gotten hugely popular on this basis.
-
Building a Local Development Environment: Running a Next.js Full-Stack App with PostgreSQL and Minio S3 Using Docker
Let's start by creating a Next.js application. We will use the T3 stack (TypeScript, TailwindCSS, and Prisma ORM) for this tutorial to skip installing and configuring all the dependencies which is out of the scope of this article. You can find more information about the T3 stack.
- Ask HN: Who wants to be hired? (January 2024)
-
Show HN: Build your startup or side project faster with these SaaS templates
https://github.com/t3-oss/create-t3-app
You still would need to add Stripe but there are so many examples publicly available that it should be straight forward
-
What will happen to the full-stack framework in the future?
Although there are quite a few opinionated battery-included frameworks that have picked up everything for you like RedwoodJS, Blitz, and Create-T3-App, you still need to choose between them and hope that they will remain mainstream and well-maintained in the future. So how should we choose?
Next.js
-
React 19: The long-expected features
If you're acquainted with NextJs, the directives will come as no surprise.
-
Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
Deploying a full-stack Next.js web app can seem complex, but with the right tools, it's straightforward. This tutorial will cover the essentials to get your app up and running quickly:
-
Empowering Creative Writing with AI: An Introduction to the Cloudflare AI Challenge Markdown Editor
This is a Next.js project bootstrapped with create-next-app.
-
Next.js vs Node.js: A Modern Contrast
New Developers to the Next.js ecosystem require some understanding of HTML, CSS, and React; the React Foundation course by Next.js is a good place to start. If you’re comfortable with React.js, Next feels easy, backed with bulks of popular tools and libraries on GitHub.
This article contrasts two whales: Next.js vs Node.js. Both projects are open-source but have different use cases. Next is React-based, which supports static and server-rendered pages, helping build dynamic and hybrid applications thanks to its automatic static optimization feature. Node is a runtime environment for implementing JavaScript code outside the browser, particularly on the server.
-
Integrating Strapi with ChatGPT and Next.js
In this tutorial, we will learn how to use Strapi, ChatGPT, and Next.js to build an app that displays recipes using AI.
- Next.js App Router SEO overview
-
Use Notion as your CMS along with Next.js
I initially started with Firebase Admin, but it always end up choosing between Firebase or Next. So, after battling with Firebase SDK initialization (#44966) for quite a long time, I had to ditch it and look for alternatives. Supabase looked good but was too much for my needs. Eventually, I settled with Notion as it gave the information I required as well as a nice UI to manage that informations, that too for free.
-
7 Frameworks, One SAML Jackson - Your Open Source Single Sign-On Solution
In the JavaScript ecosystem, there are guides for enabling SAML-based enterprise single sign-on in AdonisJS, Express.js, Next.js, Remix, and React with an Express.js backend.
-
How I Built an Open-Source Admin Dashboard Template with Mantine and Next.js
import { TextInput, Select } from '@mantine/core'; // Example usage ; ; Enter fullscreen mode Exit fullscreen mode Maps: React Simple Maps provides maps that are valuable for visualizing geospatial data. You can integrate interactive maps into your dashboard to represent data points geographically. import {ComposableMap, Geographies, Geography, Marker} from "react-simple-maps"; // Example usage {...} {... return ( ); })} Enter fullscreen mode Exit fullscreen mode By incorporating these core components, our template accelerates the development of admin dashboards. These components are designed to work seamlessly together, providing a cohesive user experience. You can effortlessly create complex data visualizations, interactive tables, intuitive forms, and interactive maps — essential elements that transform raw data into meaningful insights. Deploying the Template to a Live Environment Deploying our admin dashboard template to a live environment is a straightforward process. We recommend utilizing popular hosting platforms like Vercel, Netlify, or Firebase Hosting. These platforms offer seamless integration with Next.js and allow you to deploy with a few simple steps: Install Required Dependencies: Ensure you have the necessary dependencies specified in the package.json file. Build the Project: Generate a production build of your Next.js application using the command: npm run build. Select Hosting Platform: Choose your preferred hosting platform (e.g., Vercel). Connect Repository: Link your template’s GitHub repository to the hosting platform. Configure Deployment Settings: Configure deployment settings, such as branch selection and build commands. Deploy: Trigger the deployment process. The hosting platform will automatically build and deploy your admin dashboard template. Real-World Use Cases The versatility of our admin dashboard template knows no bounds. It caters to a myriad of real-world use cases, each tailored to specific industries and applications: E-Commerce Management: The template can be employed to manage product listings, order processing, and inventory tracking for online stores. Data Analytics: With its data visualization components, the template can serve as a dashboard for analyzing metrics, trends, and insights. Project Management: The template’s customizable components facilitate the creation of project management tools for tracking tasks, deadlines, and team collaboration. SaaS Applications: As the foundation of a Software as a Service (SaaS) application, the template streamlines user management, subscription tracking, and data presentation. Content Management: It can also function as a content management system dashboard, offering tools to manage articles, media, and user-generated content. Live Demo For a hands-on experience, explore the live demo of our admin dashboard template: Live demo — https://mantine-analytics-dashboard.netlify.app/ Witness the template’s adaptability, responsiveness, and functionality firsthand. Feel free to interact with its components, navigate through its sections, and envisage how it could seamlessly integrate into your projects. Contributing and Support I welcome all developers and enthusiasts to contribute to the growth of our open-source admin dashboard template. Contributing is a collaborative process that empowers us to collectively enhance the template’s capabilities and quality. To get started: Fork the Repository: Fork the template’s GitHub repository to your own GitHub account. Clone the Fork: Clone the forked repository to your local machine using Git. Create a Branch: Create a new branch for your contributions to keep the main codebase intact. Implement Changes: Make your desired changes, add new components, or refine existing features. Commit and Push: Commit your changes to the new branch and push them to your GitHub fork. Submit a Pull Request: Submit a pull request from your forked repository to the main template repository. Your changes will be reviewed and potentially merged. Conclusion In summary, our Mantine and Next.js admin dashboard template offers a range of benefits that empower developers, designers, and entrepreneurs to create exceptional admin interfaces: Efficiency and Speed: The template expedites development by providing a pre-built foundation of components and features, allowing you to focus on customization and innovation. Consistency and Aesthetics: Mantine’s design-first approach and Next.js’s performance optimizations ensure a consistent and visually appealing user experience. Flexibility and Customization: The template’s modularity and theming options facilitate easy customization to align with your project’s unique branding and requirements. Rich Functionality: The integration of core components such as charts, tables, forms, and maps equips you with tools to tackle diverse dashboard functionalities. Invitation to Explore and Utilize The Mantine and Next.js admin dashboard template isn’t just an end; it’s a beginning — a starting point for your creative journey. Whether you’re a seasoned developer seeking a rapid launch or an enthusiast keen on learning modern development practices, this template is your canvas. Additional Resources GitHub repository — https://github.com/design-sparx/mantine-analytics-dashboard Mantine — https://mantine.dev/ Nextjs — https://nextjs.org/ Code documentation — https://mantine-analytics-dashboard-docs.netlify.app/
What are some alternatives?
vite - Next generation frontend tooling. It's fast!
Express - Fast, unopinionated, minimalist web framework for node.
SvelteKit - web development, streamlined
MERN - ⛔️ DEPRECATED - Boilerplate for getting started with MERN stack
Angular - Deliver web apps with confidence 🚀
fastify - Fast and low overhead web framework, for Node.js
Svelte - Cybernetically enhanced web apps
Koa - Expressive middleware for node.js using ES2017 async functions
AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
razzle - ✨ Create server-rendered universal JavaScript applications with no configuration
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]