Skip to content

cisstech/nestkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

218 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NestKit

A collection of libraries for NestJS developers.

CI codecov codefactor GitHub Tag licence code style: prettier

Overview

NestKit is a set of focused modules for NestJS APIs. Each package solves one problem well and installs on its own, so you add only what you need and nothing you do not.

Packages

Package What it does Version
@cisstech/nestjs-expand Dynamic resource expansion: let API clients pull related resources on demand, in a single request. npm
@cisstech/nestjs-pg-pubsub Real-time pub/sub over PostgreSQL LISTEN/NOTIFY, with no extra message broker to run. npm

Compatibility

Both modules support NestJS 10 and 11.

Documentation

Guides and API for every module are hosted at cisstech.github.io/nestkit.

Articles

Development

Clone and install:

git clone https://github.com/cisstech/nestkit
cd nestkit
yarn

The sample application reads its configuration from a .env file at the repository root:

# PostgreSQL
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=your_database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/your_database

# Redis (for the distributed lock service)
REDIS_HOST=localhost
REDIS_PORT=6379

Start the services and serve the demo:

docker-compose up -d
yarn start

Contribution

Contributions are always welcome. Please read our CONTRIBUTING.md first, then submit ideas as pull requests or GitHub issues. Make sure your code style matches the rest of the project and that the unit tests and linter pass.

Support development

NestKit is free to use. As the maintainer, I put a lot of time into answering questions, fixing issues and adding features around a full-time job. If the project saved you or your team time, a star on the repository supports its maintenance and future work.

License

MIT © Mamadou Cisse

About

A collection of libraries for NestJS developers.

Resources

License

Contributing

Stars

6 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors