@leapjs/common v0.5.38
Leapjs
TOC
While all of this can be done even without any frameworks, we simply aim to accelerate development by providing starting point to build on top of
Features
- DI
- Makes the code easier to extend and test,
- Not enforced, you could write code without any DI if you wish.
- Roadmap: Parent and child containers, request scope
- Highly modularized *
- Flexibility
- While the generated templates are structured to follow DDD, the framework itself does not enforce anything.
* DI, routing, configuration form the core of the framework
Roadmap: Provide the below as standalone modules
- Access control - RBAC, Minimal ABAC
- Roadmap: Support for fine grained ACLs
- Email
- Sendgrid support
- Roadmap: Support for Mailgun, possibly others(?)
- Queueing
- RabbitMQ support
- Roadmap: Support for multiple transports - RabbitMQ, Redis, MQTT, Kafka
- Scheduling - Delayed and periodic tasks
- Uses MongoDB as the store tasks
- Roadmap: Support for Redis
- Routing
- Express 4 support
- Code can be easily extended with popular express extensions
- Roadmap: Fastify support, custom routing framework to provide http2 support
- Express 4 support
- Caching
- Simple in memory cache - Allows caching responses for fixed durations
- Roadmap: Redis support
- Roadmap: Microservices support
- Roadmap: Service registration and discovery
- Roadmap: Brokered messaging, gRPC + protocol-buffers
- Roadmap Dashboard (APM, logging)
Scaffolding
Leap CLI provides you with the following options
Create new project The generated code is in Typescript and supports only MongoDB Roadmap: Javascript support, MySQL, PostgreSQL support
- Simple auth endpoints + basic unit tests
- Signup, verify account (otp), resend otp, login, refresh tokens, forgot password,
- User endpoints + basic unit tests
- Create one / many, update|replace one / many, get one / many, delete one/many
Auth, access control, queueing are optional features that can be enabled or disabled when scaffolding the project
Create new module (with model) Generates a controller, model, service with endpoints for common CRUD operations + skeleton tests
Create new module (without model) Creates a skeleton controller and service
2 years ago
2 years ago
2 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago