This is the frontend application for DevConnect, a platform designed to connect developers. It provides a user-friendly interface for user authentication, profile management, connection request handling, and browsing a feed of potential connections.
- User Authentication (Login, Signup, Forgot/Reset Password)
- User Profile Management (View, Edit)
- Dynamic User Feed with Tinder-like swipe animations
- View Connections and Received Requests
- Responsive UI
- State management with Redux Toolkit
- React.js
- Vite (build tool)
- Tailwind CSS
- DaisyUI (Tailwind CSS component library)
- React Router DOM
- Redux Toolkit (for state management)
- Axios (for API calls)
- React Confetti (for success animations)
cd DevTinder/Frontendnpm installCreate a .env file in the Frontend directory with the following variables:
VITE_BACKEND_BASE_URL=http://localhost:3000
- Ensure
VITE_BACKEND_BASE_URLmatches the URL where your backend server is running.
npm run devThis will start the development server, usually at http://localhost:5173.
npm run dev: Starts the development server.npm run build: Builds the app for production to thedistfolder.npm run lint: Runs ESLint for code quality checks.npm run preview: Serves the production build locally.
- Code Consistency:
- In
EditProfile.jsxandSignup.jsx, consider initializing string fields informDatawith empty strings ('') instead of spaces (' ') for better consistency.
- In