Jump to content

First Steps

You just scaffolded a new T3 App and are ready to go. Here is the bare minimum to get your app working.

Database

MySQL, PostgreSQL

If you chose MySQL or PostgreSQL as your database, your T3 app will come with a start-database.sh bash script that can create a docker container with a database for local development. If you already have a database, feel free to delete this file and put your database credentials in .env. On macOS, you can also use DBnginβ†— if you don’t want to use docker.

Prisma

If your app includes Prisma, make sure to run npx prisma db push from the root directory of your app. This command will sync your Prisma schema with your database and will generate the TypeScript types for the Prisma Client based on your schema. Note that you need to restart the TypeScript server↗ after doing this so that it can detect the generated types.

Drizzle

If your app includes Drizzle, check the .env file for instructions on how to construct your DATABASE_URL env variable. Once your env file is ready, run pnpm db:push (or the equivalent for other package managers) to push your schema.

Authentication

If your app includes NextAuth.js, we get you started with the DiscordProvider. This is one of the simplest providers that NextAuth.js offers, but it still requires a bit of initial setup on your part.

Of course, if you prefer to use a different auth provider, you can also use one of the many providers↗ that NextAuth.js offers.

  1. You will need a Discord account, so register one if you haven’t already.
  2. Navigate to https://discord.com/developers/applicationsβ†— and click β€œNew Application” in the top right corner. Give your application a name and agree to the Terms of Service.
  3. Once your application has been created, navigate to β€œSettings β†’ OAuth2 β†’ General”.
  4. Copy the β€œClient ID” and add it to your .env as DISCORD_CLIENT_ID.
  5. Click β€œReset Secret”, copy the new secret, and add it to your .env as DISCORD_CLIENT_SECRET.
  6. Click β€œAdd Redirect” and type in http://localhost:3000/api/auth/callback/discord.
    • For production deployment, follow the previous steps to create another Discord Application, but this time replace http://localhost:3000 with the URL that you are deploying to.
  7. Save Changes.
  8. Set the NEXTAUTH_SECRET in .env. In development any string will work, for production see the note in .env on generating a secure secret.

You should now be able to log in.

Editor Setup

The following extensions are recommended for an optimal developer experience. The links below provide editor specific plugin support.

Next Steps

  • If your app includes tRPC, check out src/pages/index.tsx and src/server/api/routers/post.ts to see how tRPC queries work.
  • Have a look around the Create T3 App docs, as well as the docs of the packages that your app includes.
  • Join our Discordβ†— and give us a star on GitHubβ†—! :)

Website Navigation

Peace

Yaya

Donald Duck

Japan

Mimi

Football

Jump

Doge

QQ

Clown

Anonymous

BTC

ETH

USDC

USDT

Pepe

BNB

BUSD

Solana

XRP

Ada

543X

Website Navigation

543x Sites

USDT

  • Description: All things USDT Alipay USDT is simply paying homage to a USD we all love and recognize.
  • Link: usdt.543x.comβ†—

Ethereum (ETH)

  • Description: A talking pig! ETH is simply paying homage to a Vitalik Buterin we all love and recognize.
  • Link: eth.543x.comβ†—

USDC

  • Description: USDC is simply paying homage to a USD we all love and recognize.
  • Link: usdc.543x.comβ†—

PEPE

  • Description: PEPE is simply paying homage to a meme we all love and recognize. The most memeable memecoin in existence. It’s time to Make Memecoins Great Again.
  • Link: pepe.543x.comβ†—

BNB

BUSD

FDUSD

  • Description: FDUSD is simply paying homage to a meme we all love and recognize.
  • Link: fdusd.543x.comβ†—

Solana (SOL)

Girlfriend (GF)

  • Description: It’s time for the most recognizable meme in the world to take his reign as king of the internet. It’s time to Make Memecoins Great Again.
  • Link: gf.543x.comβ†—

Cat

Miqi

YY

  • Description: Can you never catch up to a turtle in front of you? YY is time to Make Memecoins Great Again.
  • Link: yy.543x.comβ†—

Panda

Sheep

Rabbit

Ord

Monkey

Rat

  • Description: What currency is rat? Rat is time to Make Memecoins Great Again.
  • Link: rat.543x.comβ†—

Dragon

X

  • Description: X is simply paying homage to a x.com we all love and recognize.
  • Link: x.543x.comβ†—

Cow

Seal

Satoshi Nakamoto

  • Description: The Monetary Future: At the intersection of free banking, cryptography, and digital currency.
  • Link: satoshi.543x.comβ†—

Other Resources

AI

Swap

  • Description: The Monetary Future: At the intersection of free banking, cryptography, and digital currency.
  • Link: s.543x.comβ†—

Bitcoin

Blockchain

  • Description: Blockchain is a shared, immutable ledger.
  • Link: z2.pwβ†—

Web Library

  • Description: The library for web and native user interfaces.
  • Link: r.543x.comβ†—

Solana Creation

React Creation

  • Description: Set up a modern web app by running one command.
  • Link: e.543x.comβ†—

Firebase

  • Description: Google tools help build applications, improve quality and efficiency.
  • Link: d.543x.comβ†—

React App Creation