DevSphere is a developer community platform that offers mentorship, apprenticeship programs, and career opportunities. This website serves as the central hub for all information about DevSphere.
- Framework: Next.js 15 (React 19)
- Language: TypeScript
- Styling: Tailwind CSS v4
- UI Components: shadcn/ui (Radix UI primitives)
- Animations: Framer Motion
- Icons: Lucide React
- Form Handling: React Hook Form with Zod validation
- 3D Graphics: Cobe for interactive globe
- Package Manager: pnpm
Before you begin, ensure you have the following installed:
- Node.js: Version 18.17 or higher
- pnpm: Version 8.0 or higher (recommended) or npm/yarn
To install pnpm globally:
npm install -g pnpmgit clone https://github.com/yourusername/devsphere-website.git
cd devsphere-websitepnpm installpnpm devThe application will be available at http://localhost:3000
pnpm buildpnpm startdevsphere-website/
├── app/ # Next.js App Router pages
│ ├── api/ # API routes
│ │ └── chat/ # Chat API endpoint
│ ├── apprenticeship/ # Apprenticeship program page
│ ├── careers/ # Careers portal
│ ├── code-of-conduct/ # Community guidelines
│ ├── core-team/ # Team member profiles
│ ├── login/ # Authentication page
│ ├── safety/ # Safety and security pages
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ └── globals.css # Global styles
├── components/ # React components
│ ├── home/ # Home page specific components
│ ├── magicui/ # Custom UI components
│ └── ui/ # shadcn/ui components
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and helpers
├── public/ # Static assets (images, etc.)
├── styles/ # Additional stylesheets
├── package.json # Project dependencies
├── tsconfig.json # TypeScript configuration
└── next.config.mjs # Next.js configuration
pnpm dev- Start development server on http://localhost:3000pnpm build- Build the application for productionpnpm start- Start production serverpnpm lint- Run ESLint to check code quality
Create a .env.local file in the root directory for environment-specific variables:
# Add your environment variables here
# Example:
# GOOGLE_AI_API_KEY=your_api_key_here
# NEXT_PUBLIC_API_URL=your_api_urlNote: Never commit .env.local to version control.
This project uses shadcn/ui. To add new components:
npx shadcn@latest add [component-name]Example:
npx shadcn@latest add dropdown-menu- Global styles are in
app/globals.css - Tailwind configuration is in
postcss.config.mjs - Component-specific styles use Tailwind utility classes
We welcome contributions from the community! Please read our CONTRIBUTING.md guide for details on:
- Code of conduct
- Development workflow
- Pull request process
- Coding standards
MIT License
If you encounter any bugs or have feature suggestions:
- Check if the issue already exists in Issues
- If not, create a new issue with:
- Clear description
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Screenshots if applicable
Made with ❤️ by the DevSphere Team