Our great sponsors
-
Prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
If you still decide to keep them separate, do yourself a favor and use Zod for your schema validation on the front-end. It'll save you the trouble of messy type definitions and it's honestly a breeze to work with
If you're already familiar with Express and Node, then I suggest looking into NextJS or Remix. The benefit of having a full-stack app is the integration that you get with the type safety with TypeScript support as well as other useful tools like Prisma for your DB which provides a seamless API for the rest of your app. You can also get server-side rendering and other SSR features from React 18 which are all the rage these days
If you're already familiar with Express and Node, then I suggest looking into NextJS or Remix. The benefit of having a full-stack app is the integration that you get with the type safety with TypeScript support as well as other useful tools like Prisma for your DB which provides a seamless API for the rest of your app. You can also get server-side rendering and other SSR features from React 18 which are all the rage these days
Related posts
- I made an open-source starter template for full-stack universal(web + mobile) apps! (tRPC, Expo, Next, Solito, Tamagui, Clerk Auth, Prisma!)
- The Complete Modern React Developer 2022
- Building a SaaS in one week: How I built OnlineOrNot (Next.js/React, Tailwind, GraphQL, TypeScript)
- Use Notion as your CMS along with Next.js
- Building a Dynamic Job Board with Issues Github, Next.js, Tailwind CSS and MobX-State-Tree