This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# core-packages | ||
|
||
This is a repository for the Node.js accelerator packages PoC. | ||
The idea is to build a set of packages that encapsulate backend stack and operational plumbing. | ||
|
||
Please see [this post](https://gir.me.uk/posts/low-boilerplate-nodejs-services.html) for more details on the philosophy behind this approach. | ||
|
||
## Repository structure | ||
|
||
This repository is presented as a PNPM workspace. | ||
|
||
``` | ||
├── .github | ||
│ └── workflows # CI scripts | ||
├── examples # Example apps | ||
│ └── bookmarks | ||
└── packages # NPM packages | ||
├── core | ||
├── core-express | ||
├── core-mongo | ||
└── core-mongo-express | ||
``` | ||
|
||
The packages were intentionally made quite granular so as to demonstrate the possibility of mixing and matching technologies for different customer requirements. | ||
As an extension of the PoC we could, for example, add packages for Fastify and PostgreSQL and combinations. | ||
|
||
## Testing | ||
|
||
Run `pnpm test` at the root level (for all packages) or in the individual package directories. | ||
|
||
## Publishing packages to NPM | ||
|
||
Please run [this workflow](https://github.com/101-Ways/core-packages/actions/workflows/publish.yaml) to publish updates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters