0.5.38 • Published 2 years ago

@leapjs/common v0.5.38

Weekly downloads
38
License
-
Repository
github
Last release
2 years ago

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
  • 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

0.5.38

2 years ago

0.5.36

2 years ago

0.5.37

2 years ago

0.5.35

4 years ago

0.5.32

4 years ago

0.5.33

4 years ago

0.5.31

4 years ago

0.5.30

4 years ago

0.5.29

4 years ago

0.5.28

4 years ago

0.5.27

4 years ago

0.5.25

4 years ago

0.5.26

4 years ago

0.5.23

4 years ago

0.5.24

4 years ago

0.5.21

4 years ago

0.5.20

4 years ago

0.5.18

4 years ago

0.5.17

4 years ago

0.5.16

4 years ago

0.5.15

4 years ago

0.5.14

4 years ago

0.5.13

4 years ago

0.5.12

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.2-alpha.0

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago