A web platform for uploading learning content with:
- Project: Nx
- Package Manager: pnpm
- Frontend: Angular
- Backend: NestJS
- Admin Panel: Angular
- Database: MongoDB (via Docker Compose)
pnpm installdocker-compose up -d.
├── apps/
│ ├── frontend/ # Angular frontend
│ ├── backend/ # NestJS backend
│ └── admin/ # Angular admin panel
├── libs/ # Shared libraries
├── docker-compose.yml
├── nx.json
├── package.json
└── README.md
Make sure to set the .env before running:
MONGO_PORT= // Changes the mongo port if you run multiplespnpm devpnpm dev:<PROJECT>Following urls are defined by default:
- frontend: http://localhost:4200
- backend: http://localhost:3000/api
- admin: http://localhost:4201
MongoDB is managed via Docker Compose.
This will automatically create mongo-express which serves as a web interface for the database.
You can access the webinterface at:
http://localhost:8081pnpm nx serve <app>: Serve an app (frontend, backend, admin)pnpm nx build <app>: Build an apppnpm nx test <app>: Run tests for an appdocker-compose up -d: Start MongoDB
This project is created regarding the "Einführung in die Webtechnologien"-Module of RWTH Aachen University. It serves as bonus project.