CodeWithPurpose India community
CodeWithPurpose India is a community-focused initiative, and this repository contains the website source for the project. The app is currently built using:
- Next.js 16.3.4
- React 19.2.8
- TypeScript 5
- Tailwind CSS 4
- ESLint 9
Make sure you have the following installed locally:
- Node.js 24 LTS
- npm
- Git
npm install
npm run dev
npm run checkDev server starts on: PORT 3000
http://localhost:3000
The contact form submits to Web3Forms. Create a .env.local file with:
NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY=your_access_keyGet a free key at web3forms.com by entering the inbox that should receive messages. Submissions are viewable in the Web3Forms dashboard.
Site content (workshops, FAQs, key page text) is managed with Sanity:
NEXT_PUBLIC_SANITY_PROJECT_ID=your_project_id
NEXT_PUBLIC_SANITY_DATASET=production
NEXT_PUBLIC_SANITY_API_VERSION=2026-01-01Create a free project at sanity.io/manage to get a project ID. The editing studio is embedded at /studio — edit Site Content, Workshops, and FAQs there. Without these variables the site builds and runs with its built-in default content, so they are optional for local UI work.
npm run dev # Start the development server
npm run build # Create a production build
npm run start # Run the production build locally
npm run lint # Run ESLint checks
npm run typecheck # Run TypeScript type checks
npm run check # Run lint, typecheck, and build before pushingThis project is maintained by the CodeWithPurpose India community. If you are working on a feature or bug fix, keep the codebase consistent, readable, and well-documented.