-
-
Notifications
You must be signed in to change notification settings - Fork 572
Home
Michael Yali edited this page Dec 27, 2019
·
9 revisions
NestJS is probably one of the best things that happened to Node.js community a couple of years ago. It was a missing part that provides a truly important architectural solution for a wide range of backend development aspects. But, despite the fact that it allows creating RESTful applications efficiently, an important CRUD scaffolding functionality that is present in many other HTTP frameworks was missing. That's why Nestjsx/crud came out. And we hope you'll find it very useful.
The project follows monorepository structural practice and contains several packages:
-
@nestjsx/crud - core package which provides
@Crud()decorator for endpoints generation, global configuration, validation, helper decorators (docs) -
@nestjsx/crud-typeorm - TypeORM package which provides base
TypeOrmCrudServicewith methods for CRUD database operations for relational databases (docs) -
@nestjsx/crud-request - request builder/parser package wich provides
RequestQueryBuilderclass for a frontend usage andRequestQueryParserthat is being used internaly for handling and validating query/path params on a backend side (docs)
docker-compose up -d
yarn bootstrap
yarn build
yarn testExample projects can be found under integration folder.
docker-compose up -d
yarn bootstrapyarn db:prepare:typeorm
yarn start:typeormUse http://localhost:3000/docs to try it out.