This project is a startup idea submission platform built with Next.js, Sanity, and Tailwind CSS. It allows users to submit, browse, and manage startup ideas while exploring modern web development concepts like server actions, dynamic routing, and API integration.
The project is designed to practice building scalable, full-stack applications with a focus on user authentication, form validation, and responsive UI design. 🚀
- Next.js: Framework for server-side rendering and static site generation.
- Sanity: Headless CMS for managing and querying content.
- Tailwind CSS: Utility-first CSS framework for styling.
- Zod: Schema validation for form inputs.
- Lucide React: Icon library for consistent UI.
- Sentry: Error tracking and performance monitoring.
- User Authentication: GitHub-based login and logout functionality.
- Startup Submission: Users can submit startup ideas with title, description, category, image, and pitch.
- Dynamic User Profiles: View user-specific startup submissions.
- Form Validation: Client-side and server-side validation using Zod.
- Responsive Design: Fully responsive UI with Tailwind CSS.
- Error Monitoring: Integrated Sentry for tracking errors and performance.
Create a .env.local file in the root directory and add the following variables:
AUTH_SECRET=your_auth_secret
AUTH_GITHUB_ID=your_github_client_id
AUTH_GITHUB_SECRET=your_github_client_secret
NEXT_PUBLIC_SANITY_PROJECT_ID=your_sanity_project_id
NEXT_PUBLIC_SANITY_DATASET=your_sanity_dataset
NEXT_PUBLIC_SANITY_API_VERSION=your_sanity_api_version
SANITY_WRITE_TOKEN=your_sanity_write_token
npm run dev