Best uses for RESTFUL API or Microservice Project
ack-nestjs-boilerplate-mongoose is a NestJs Boilerplate with Mongoose and MongoDB as Database.
Made with following
- nodejs-best-practice
- The Twelve-Factor App
- NestJs Habit.
You can Request Feature or Report Bug with following this link
Now ack-nestjs-boilerplate-mongoose have required
request headers.
x-timestamp
, tolerant 5 minutes of request.user-agent
, whitelist of user agent.
You can see our e2e testing file
.
- NestJs v8.x
- NodeJs v17.x
- Typescript v4.x
- Mongoose v6.x
- MongoDB v5.x
- Yarn v1.x
- NPM v8.x
- Docker v20.x
- Docker Compose v2.x
ack-nestjs-boilerplate-mongoose have some objective.
- Simple, scalable and secure
- Avoid spaghetti code
- Component based
- Reusable component
- Easy to maintenance
- Support for all microservice patterns
Click this for more information 😎.
Next development
- Documentation
- Unit Testing
- Integration Testing
- Github action CI/CD
- Github action Auto Release
- Jenkins update script
- Limitation of pagination, available sort - sort - limit page - limit perPage
- Health Check Separate Endpoint
- Timestamp Tolerance Middleware
- Optimize code
- Whitelist user agent (Ongoing)
- Docker compose file mongodb replication set (Ongoing)
- Swagger (Ongoing)
will replace with swagger
All endpoints in endpoints.json and need import to PostMan. Follow this step for import into Postman.
Nestjs microservice or Kafka integration will put in separate repo ack-microservice-nestjs-boilerplate-mongoose.
Distributed under MIT licensed.
Thanks goes to these wonderful people
Tiaamoo |