A comprehensive platform for startup incubation and innovation management, built with React (Frontend) and Node.js (Backend).
📖 For a detailed step-by-step guide, see QUICK_START.md
- Node.js (v18 or higher)
- MongoDB (v5 or higher)
- npm or yarn
-
Install dependencies and setup:
npm run install:all npm run setup
-
Start both frontend and backend:
npm start
That's it! Your application will be available at:
- Frontend: http://localhost:5173
- Backend: http://localhost:5000
npm run dev:all- Start both frontend and backend in development modenpm run dev:frontend- Start only the frontend (React + Vite)npm run dev:backend- Start only the backend (Node.js + Express)
npm run build:all- Build both frontend and backend for productionnpm run start:all- Start both frontend and backend in production mode
npm run dev- Start frontend only (default Vite command)npm run build- Build frontend onlynpm run preview- Preview built frontendnpm run lint- Run ESLint on frontend
cd backend && npm run dev- Start backend development servercd backend && npm run build- Build backendcd backend && npm start- Start production backend servercd backend && npm test- Run backend tests
- Frontend: http://localhost:5173
- Backend API: http://localhost:5000
- API Health Check: http://localhost:5000/health
citbif/
├── src/ # Frontend (React + TypeScript)
│ ├── components/ # React components
│ ├── context/ # React contexts
│ ├── hooks/ # Custom hooks
│ ├── services/ # API services
│ └── types/ # TypeScript types
├── backend/ # Backend (Node.js + Express)
│ ├── src/
│ │ ├── config/ # Configuration files
│ │ ├── middleware/ # Express middleware
│ │ ├── models/ # Database models
│ │ ├── routes/ # API routes
│ │ ├── utils/ # Utility functions
│ │ └── tests/ # Test files
│ └── package.json # Backend dependencies
└── package.json # Root package.json with scripts
The frontend uses Vite and is configured in vite.config.ts. No additional configuration needed for basic usage.
The backend configuration is in backend/src/config/env.ts. Key environment variables:
# Database
MONGODB_URI=mongodb://localhost:27017/citbif
# JWT
JWT_SECRET=your-super-secret-jwt-key-here
JWT_EXPIRES_IN=7d
# CORS
CORS_ORIGIN=http://localhost:5173
# Email (optional)
SMTP_HOST=smtp.gmail.com
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-passwordPOST /api/auth/login- User loginPOST /api/auth/signup- User registrationPOST /api/auth/logout- User logoutGET /api/auth/me- Get current user
GET /api/startups- Get all startupsGET /api/mentors- Get all mentorsGET /api/investors- Get all investorsGET /api/events- Get all eventsGET /api/documents- Get all documentsGET /api/reports- Get all reports
# Run frontend tests (if configured)
npm test# Run backend tests
cd backend && npm testnpm run build
# Deploy the 'dist' folder to your hosting servicecd backend
npm run build
npm start
# Deploy to your server (PM2, Docker, etc.)- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
MIT License - see LICENSE file for details
For support and questions, please contact the development team or create an issue in the repository.