A production-grade community platform for developer communities.
- Node.js 18+
- MongoDB (local or Atlas)
cd frontend
npm install
npm run dev
# Opens at http://localhost:5173cd backend
npm install
npm run dev
# Opens at http://localhost:5000- URL: http://localhost:5173/admin
- Email:
admin@codingcouncil.com - Password:
admin123
├── frontend/ # React + Vite + TypeScript
│ ├── src/
│ │ ├── components/ # UI components (Hero, About, Events, etc.)
│ │ ├── pages/ # Route pages (admin)
│ │ ├── stores/ # Zustand state
│ │ ├── api/ # Axios API client
│ │ └── data/ # Sample data
│ └── ...
│
└── backend/ # Express + TypeScript + MongoDB
├── src/
│ ├── models/ # Mongoose schemas
│ ├── routes/ # API endpoints
│ ├── middleware/ # Auth, validation
│ └── config/ # Environment config
└── ...
- Connect GitHub repo to Vercel
- Set build command:
npm run build - Set output directory:
dist - Add env variable:
VITE_API_URL=https://your-backend.railway.app/api/v1
- Connect GitHub repo to Railway
- Set root directory:
backend - Add environment variables from
.env.example - Railway auto-detects Node.js
- Create free cluster at mongodb.com/atlas
- Get connection string
- Add to backend's
MONGODB_URIenv var
NODE_ENV=production
PORT=5000
MONGODB_URI=mongodb+srv://...
JWT_SECRET=your-secret-key
FRONTEND_URL=https://your-site.vercel.appVITE_API_URL=https://your-backend.railway.app/api/v1- Public Website: Hero, About, Events, Team, Projects, Testimonials, Contact
- Admin Panel: Dashboard, Events CRUD, Team CRUD, Registrations, Messages
- API: RESTful with JWT auth, rate limiting, validation
- Design: Dark/Light mode, Framer Motion animations, responsive
MIT