"Build a platform called Devcon where developers can showcase their projects, receive ratings, and connect with others. Key features:
Developer Profiles:
Showcase projects, skills, and expertise.
Display ratings based on community feedback.
Project Showcase:
Upload projects with descriptions, tags, and links (e.g., GitHub).
Include images, videos, or demos.
Add a rating system (e.g., 1-5 stars).
Search & Discovery:
Search developers/projects by skills, tags, or ratings.
Connection & Collaboration:
Send messages, connection requests, or collaborate on projects.
Community Features:
Forum for discussions, job board, and event listings.
Admin Dashboard:
Manage users, projects, and moderate content.
Technical Requirements:
Clean, responsive design.
Scalable backend with secure authentication.
GitHub/GitLab API integration.
Deliverables:
Fully functional web app.
Documentation for setup/maintenance.
I'll build a full-stack Next.js application for Devcon, a platform where developers can showcase projects, connect, and collaborate.
The Devcon platform I've created is a comprehensive developer showcase platform with the following key features:
The platform is designed to be highly scalable and can be extended with additional features like:
This implementation provides a solid foundation that meets all the requirements specified in your request.
I'll fix the circular dependency issue between the auth files:
I've fixed the circular dependency issue in the authentication system by:
lib/auth.tsx
)Removed files:
components/auth-provider.tsx
lib/auth.ts
Created a comprehensive auth module:
lib/auth.tsx
now contains both the AuthProvider component and the useAuth hookThis file handles all authentication-related functionality including:
Updated imports:
@/lib/auth
directlyThe authentication system now provides a seamless experience with proper loading states and redirects for protected routes like the dashboard. This implementation maintains all the original functionality while fixing the error.