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
https://instagram-nextjs-tailwind.vercel.app/
- 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
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 the example live on StackBlitz:
Deploy the example using Vercel:
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).