A modern web platform for entrepreneurs to pitch their startups, connect with others, and participate in virtual competitions.
- 🚀 Pitch Startups: Submit and showcase your startup ideas
- 👥 User Profiles: Detailed profiles for entrepreneurs
- 🔍 Search & Discovery: Find startups by category or keywords
- 📊 View Analytics: Track startup post engagement
- ✍️ Rich Content: Markdown support for pitch descriptions
- 🔄 Real-time Updates: Live content updates using Sanity
- 🔐 Authentication: GitHub authentication integration
- Frontend: Next.js 14, TypeScript, TailwindCSS
- Backend: Sanity.io CMS
- Authentication: NextAuth.js with GitHub provider
- Styling: Custom TailwindCSS configuration with Work Sans font
- Content: Markdown support with sanity-plugin-markdown
- Clone the repository:
git clone <your-repo-url>
cd nextjs-project
- Install dependencies:
npm install
- Set up environment variables:
Create a
.env.local
file with:
NEXT_PUBLIC_SANITY_PROJECT_ID=your_project_id
NEXT_PUBLIC_SANITY_DATASET=production
NEXT_PUBLIC_SANITY_API_VERSION=2025-05-01
SANITY_WRITE_TOKEN=your_write_token
GITHUB_ID=your_github_id
GITHUB_SECRET=your_github_secret
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser
├── app/ # Next.js app directory
│ ├── (root)/ # Main application routes
│ ├── studio/ # Sanity Studio integration
│ └── api/ # API routes
├── components/ # React components
├── sanity/ # Sanity configuration
│ ├── lib/ # Sanity utilities
│ └── schemaTypes/ # Content schemas
└── lib/ # Utility functions
- GitHub OAuth integration
- Protected routes for authenticated users
- User profile management
- Rich text editing with Markdown
- Image upload and management
- Real-time content updates
- Category-based organization
- Responsive design
- Custom animations
- Interactive components
- Loading states and error handling
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.