FullStack with T3 and bun

FullStack with T3 and bun

Table of Contents

FullStack with T3 and bun

atul_raj@nobara-pc:~/Desktop/GennextIT/research$ bun create t3-app@latest
   ___ ___ ___   __ _____ ___   _____ ____    __   ___ ___
  / __| _ \ __| /  \_   _| __| |_   _|__ /   /  \ | _ \ _ \
 | (__|   / _| / /\ \| | | _|    | |  |_ \  / /\ \|  _/  _/
  \___|_|_\___|_/‾‾\_\_| |___|   |_| |___/ /_/‾‾\_\_| |_|


◇  What will your project be called?
│  base
◇  Will you be using TypeScript or JavaScript?
│  TypeScript
◇  Will you be using Tailwind CSS for styling?
│  Yes
◇  Would you like to use tRPC?
│  Yes
◇  What authentication provider would you like to use?
│  NextAuth.js
◇  What database ORM would you like to use?
│  Prisma
◇  Would you like to use Next.js App Router?
│  Yes
◇  What database provider would you like to use?
│  PostgreSQL
◇  Would you like to use ESLint and Prettier or Biome for linting and formatting?
│  ESLint/Prettier
◇  Should we initialize a Git repository and stage the changes?
│  Yes
◇  Should we run 'bun install' for you?
│  Yes
◇  What import alias would you like to use?
│  @/

Using: bun

✔ base scaffolded successfully!

Adding boilerplate...
✔ Successfully setup boilerplate for nextAuth
✔ Successfully setup boilerplate for prisma
✔ Successfully setup boilerplate for tailwind
✔ Successfully setup boilerplate for trpc
✔ Successfully setup boilerplate for dbContainer
✔ Successfully setup boilerplate for envVariables
✔ Successfully setup boilerplate for eslint

Installing dependencies...
✔ Successfully installed dependencies!

Formatting project with eslint...
✔ Successfully formatted project
Initializing Git...
✔ Successfully initialized and staged git

Next steps:
  cd base
  Start up a database, if needed using './start-database.sh'
  bun run db:push
  Fill in your .env with necessary values. See https://create.t3.gg/en/usage/first-steps for more info.
  bun run dev
  git commit -m "initial commit"

Get the database:

i have used database provided from Prisma.

  • Update the .env with the new Database URL

  • Upload the schema

bun run db:push

First steps:

By T3: https://create.t3.gg/en/usage/first-steps

alt text

First run

bun run dev

alt text

Logging in working!!

Tags :