This example shows how to use Tailwind CSS (v3.2) with Next.js. It follows the steps outlined in the official Tailwind docs.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-tailwindcss with-tailwindcss-app
yarn create next-app --example with-tailwindcss with-tailwindcss-app
pnpm create next-app --example with-tailwindcss with-tailwindcss-app
Deploy it to the cloud with Vercel (Documentation).
To use the api you need to create a .env.local
file and put this line inside.
Example:
NEXT_PUBLIC_API_KEY=4545tbr45j23er12j784591n578736nlr
Replace "4545tbr45j23er12j784591n578736nlr"
with your key.
To get your API key you need to make an account on TMDB and generate one.
Accounts are currently handled by Google's Firebase.
SignUp is working! https://content-bay.vercel.app/login