Backend Playground is an interactive learning platform for backend development. It combines labs, exercises, and a code playground for beginners to practice backend concepts in a real Node.js environment, directly from the browser.
- Node.js (v18 or higher)
- pnpm (recommended) or npm
# Install all dependencies
pnpm install
# Start both client and server simultaneously
pnpm run devThis will start:
- Client at
http://localhost:4200 - Server at
http://localhost:4000
cd server
pnpm install
pnpm run devThe server will be available at http://localhost:4000
cd client
pnpm install
pnpm run devThe client will be available at http://localhost:4200
Build both client and server:
pnpm run buildBuild individually:
# Frontend
cd client
pnpm run build
# Backend
cd server
pnpm run build
pnpm startRun all tests:
pnpm run testRun tests individually:
# Backend tests
cd server
pnpm test
# Frontend linting
cd client
pnpm run lintclient/- React frontend applicationserver/- Express.js backend API server
Each application can be deployed independently to different platforms.
- Fork the repository
- Create a feature branch
- Make your changes
- Test both client and server
- Submit a pull request again the dev branch
This project is licensed under the MIT License.
