This monorepo contains the full-stack application for the eLearning Camp platform.
/eLearning-Camp/
│
├── backend/ # Node.js/Express API
├── frontend/ # React frontend (coming soon)
├── package.json # Root package.json
├── pnpm-workspace.yaml
└── turbo.json # Turborepo configuration
- Node.js >= 18
- pnpm >= 8.0.0
- Install pnpm if you haven't already:
npm install -g pnpm- Install dependencies:
pnpm install- Start development servers:
# Run both frontend and backend in development mode
pnpm dev
# Run only backend
pnpm dev --filter backendpnpm dev- Start all packages in development modepnpm build- Build all packagespnpm test- Run tests across packagespnpm lint- Lint all packagespnpm clean- Clean all builds and node_modules
- Backend Documentation
- Frontend Documentation (coming soon)
From the repository root, build the frontend and backend images:
docker build -f frontend/Dockerfile -t elearning-frontend:prod .
docker build -f backend/Dockerfile -t elearning-backend:prod .Use the included docker-compose.yml to run both services:
# For development profile
docker compose --profile dev up --build
# For production profile
docker compose --profile prod up --build- Copy
backend/.env.exampletobackend/.envand fill in your secrets and configuration. - Never commit secrets to version control. The
.envfile is gitignored.
MIT - See LICENSE for details.