2.0.0 • Published 1 year ago

@bonnet-ltd/starter v2.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Bonnet Service Starter

This will help you kickstart your next service.

Current NX VERSION - 18.0.8

WARNING - this package is not compatible with any services that have infrastructure manually set up

Getting Started

Create the NX workspace npx create-nx-workspace@18.0.8 bonnet-ltd --preset=ts

Rename your folder mv bonnet-ltd SERVICE_NAME-workspace

Install required packages npm install --save-dev @nx/node@18.0.8 @nx/js@18.0.8 @bonnet-ltd/starter

Available Scripts: 1. npx nx generate @bonnet-ltd/starter:init - initialises barebones of your new service (semaphore, terraform config). This needs to be always run at the beginning of your project. 2. npx nx generate @bonnet-ltd/starter:api - this will create trpc, api and client packages as well as add it to terraform and semahore 3. npx nx generate @bonnet-ltd/starter:pubsub - this will create pubsub api and pubsub handlers packages as well as add all the neccessary config to terraform and semahore 4. npx nx generate @bonnet-ltd/starter:jobs - this will create jobs api and job handlers packagesas well as add all the neccessary config to terraform and semahore. You'll get an option to pick between Prisma (Postgres) and Agenda (Mongo) job managers. 5. npx nx generate @bonnet-ltd/starter:infra - this will add a service to semaphore and terraform configs. This is only needed if you have manually created some package and want a hassle free way of addint it to the configs

2.0.0

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago