A modern full-stack startup listing platform built with Next.js, Sanity.io, and TypeScript. Users can discover startups, search in real-time, submit their own ventures, and authors can manage entries through an authenticated dashboard.
- 🔐 Authentication with GitHub (via NextAuth)
- 📦 Sanity CMS Integration for content management
- 📝 Markdown Support for startup descriptions
- 🔍 Real-Time Search with URL syncing
- 🧾 Author Auto-Creation on login
- 📈 Live View Count Updates using Sanity Write API and Latest Next JS feature Partial Pre-rendering
- 🛠 Error Monitoring via Sentry
- 📃 Form Validations with smooth UX
Live URL: https://building-project-jsm.vercel.app https://raw.githubusercontent.com/ritesh1601/BuildingProjectJSM/refs/heads/main/image.png
| Technology | Purpose |
|---|---|
| Next.js | Full-stack framework |
| TypeScript | Type safety |
| Sanity.io | Headless CMS |
| NextAuth | GitHub authentication |
| Vercel | Deployment |
| Sentry | Error tracking |
- Login via GitHub on the home page.
- If the logged-in user does not exist in the database, a new author record is created automatically.
- Use the search bar to find startups by name or keywords.
- The results auto-update based on query string in the URL.
- All startups are listed on the homepage with live view counts.
- Click any card to view full details with markdown-rendered descriptions.
- Logged-in users can navigate to
/submitto fill out the Startup Submission Form. - The form includes validation on all required fields.
- Submissions are sent to Sanity CMS and available instantly.
- Each author has a public profile page listing their submitted startups.
git clone https://github.com/ritesh1601/BuildingProjectJSM.git
cd BuildingProjectJSM/my-app
npm install --forcenpm install next-auth@beta --force
npx auth secret
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_secret
GITHUB_ID=your_github_id
GITHUB_SECRET=your_github_secret
SANITY_PROJECT_ID=your_project_id
SANITY_DATASET=production