2024-10-26 08:35:59 +00:00
< p align = "center" >
< a href = "http://nestjs.com/" target = "blank" > < img src = "https://nestjs.com/img/logo-small.svg" width = "120" alt = "Nest Logo" / > < / a >
< / p >
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
< p align = "center" > A progressive < a href = "http://nodejs.org" target = "_blank" > Node.js< / a > framework for building efficient and scalable server-side applications.< / p >
< p align = "center" >
2024-10-28 19:09:35 +00:00
## Status
2024-10-26 08:35:59 +00:00
2024-10-28 19:09:35 +00:00
This project is still in development and not ready for production, it's not even ready to install yet. Calling for contributors to help this project.
2024-10-26 10:31:59 +00:00
2024-10-28 19:09:35 +00:00
## Description
2024-10-26 08:35:59 +00:00
2024-10-28 19:09:35 +00:00
Nest Auto CRUD is a library that provides a set of modules, decorator, service, and many more to reduce the boilerplate code.
2024-10-26 08:35:59 +00:00
2024-10-28 19:09:35 +00:00
## Roadmap
2024-10-26 08:35:59 +00:00
2024-10-28 19:09:35 +00:00
- Create custom generic for Prisma ORM Support [#5273 ](https://github.com/prisma/prisma/issues/5273 )
2024-10-26 08:35:59 +00:00
2024-10-28 19:09:35 +00:00
## Installation
2024-10-26 08:35:59 +00:00
```bash
2024-10-28 19:09:35 +00:00
$ npm install @aditama -labs/nest-autocrud
2024-10-26 08:35:59 +00:00
```
2024-10-28 19:22:40 +00:00
## Example
### Prisma ORM
```typescript
// Your Module
@Module ({
imports: [
// This is the magic
PrismaModule.forRoot({
delegate: (prisma) => prisma.user,
}),
],
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}
// Your Controller
@Controller ('examples')
export class AppController extends SkeletonCRUDController {}
```
### TypeORM
_COMING SOON_
2024-10-26 08:35:59 +00:00
## Support
2024-10-28 19:09:35 +00:00
Nest AutoCRUD is an MIT-licensed open source project.
2024-10-26 08:35:59 +00:00
## Stay in touch
2024-10-28 19:09:35 +00:00
- Author - [Supan Adit Pratama ](mailto:email@supanadit.com )
- Website - [https://supanadit.com ](https://supanadit.com/ )
2024-10-26 08:35:59 +00:00
## License
2024-10-28 19:09:35 +00:00
Nest AutoCRUD is MIT licensed