/t3-app-with-express-react-vite-trpc-prisma

Starter project with expressjs React+Vite and prisma as ORM

Primary LanguageTypeScript

tRPC + Express + React (with Vite) Scaffolding

This is a minimal monorepo for Express.js as backend and React frontend with tRPC support. Which is can be used as a starting point for any express trpc react application, with prisma.

Clone and install dependencies 🏭

$ git clone https://github.com/trulymittal/t3-app-with-express-react-vite-trpc-prisma.git
$ cd t3-app-with-express-react-vite-trpc-prisma
$ npm i --workspaces
# Only if using the prisma ORM
$ npx prisma db push

Why another tRPC + Express + React boilerplate generator ❓

  1. Only installs the bare bones 💀 and "mostly" required dependencies whenever you try to start a new trpc express react application in a monorepo.
  2. Example TODO router, i.e. CRUD operations are demonstrated on the frontend React and backend express application, to give you an idea of how trpc works

Quick Start 🏃‍♂️

The quickest way to get started is to clone the project and install the dependencies using:

$ npm i --workspaces
$ npm run dev

Author ✍️

Truly Mittal 🇮🇳

YouTube 📺

https://youtube.com/@mafiacodes

Donations 💰

https://paypal.me/trulymittal

License 🎫

MIT

Contribute 🤝

You can fork this repo and send me a PR.