NestJsx CRUD combined with Angular UI and Swagger generated API-client
Built with 💜 by
Björn Engel
This project is a prototype of using NestJs extended with Crud-extension and Swagger. It is used to learn how an Angular frontend interacts with the backend by using a swagger genearated api-client.
-
💻 NestJs using nestjsx/crud
-
✏️ Swagger for API documentation
-
🔍 Angular
-
🔌 Swagger-Codegen to generate API-client
- Backend - Simple NestJs-Service that uses
@nestjsx/crud
extension for basic CRUD-services on an entity - Frontend - Angular frontend
-
Start postgresql database and adminer for database administration
docker-compose up -d
-
Change into backend directory
cd backend
-
Start backend service
npm run start:dev
-
Change into backend directory
cd frontend
-
Generate API-client
npm run generate:api
-
... and start frontend service
ng serve