A professional and modern frontend for a Facebook-style social media application, built with Next.js and Tailwind CSS.
- Responsive Design: Professional UI that works on all devices.
- Real-time Interactions: Powered by Socket.io for instant updates.
- Modern Tech Stack: Built with Next.js 14, React 18, and Tailwind CSS.
- State Management: Robust state handling with Zustand.
- Form Validation: Clean and easy-to-use forms with React Hook Form and Yup.
- Dynamic Animations: Smooth transitions using Framer Motion.
- Framework: Next.js
- Styling: Tailwind CSS
- UI Components: Radix UI & Lucide React
- HTTP Client: Axios
- State Management: Zustand
- Real-time: Socket.io-client
- Node.js (v18 or higher)
- npm or yarn
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Configure environment variables: Create a
.envfile and add your backend API URL. -
Start the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
Backend repo link: https://github.com/zshan-code/Fb_clone-Backend.git
npm run dev: Runs the app in development mode.npm run build: Builds the app for production.npm run start: Starts the production server.npm run lint: Lints the project files.