/instagram-nextjs-tailwind

Instagram clone is made using react.js, next.js and tailwind css. It is deployed on firebase.

Primary LanguageJavaScript

Instagram

This app is inspired from instagram. It is made using next.js, react.js, recoil, tailwind css and firebase. Nextjs is used for SSR. Recoil is used as a global store to populate data within the app. Tailwind Css is used for styling and especially for responsiveness. Firebase firestore and storage is being used as a database. NextAuth is also used for sigin and signout. Moreover, vercel is used for deployment

App Link

https://instagram-nextjs-tailwind.vercel.app/

Dependencies Used

  • yarn add faker (to get fake data for stories)
  • yarn add @tailwindcss/forms
  • yarn add @heroicons/react
  • yarn add tailwind-scrollbar
  • yarn add tailwind-scrollbar-hide
  • yarn add next-auth@beta
  • yarn add firebase
  • yarn add recoil
  • yarn add @headlessui/react
  • yarn add react-moment

Next.js + Tailwind CSS Example

This example shows how to use Tailwind CSS (v2.2) with Next.js. It follows the steps outlined in the official Tailwind docs.

It uses the new Just-in-Time Mode for Tailwind CSS.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn 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

Deploy it to the cloud with Vercel (Documentation).