This Website is built using Next.js with TailwindCSS and Sanity.io as my CMS(Content Management System). Used NextAuth to implement Signin Feature.
Used NextAuth.js to implement 'Signin with Twitter'. One need to Signin in order to post a Tweet.
Only after Login, we can post Tweets. We can also include a Image in our Tweet.
Visit https://nextjs.org/learn to get started with Next.js.
- To run the Next.js Server :
npm run dev
-
To run the Sanity Dashboard :
cd anshumanblogapp
thensanity start
-
To Install Sanity Studio :
cd anshumanblogapp
thensanity deploy
This example shows how to use Tailwind CSS (v3.0) 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
# or
yarn create next-app --example with-tailwindcss with-tailwindcss-app
# or
pnpm create next-app --example with-tailwindcss with-tailwindcss-app
Deploy it to the cloud with Vercel (Documentation).