View Code? Open in Web Editor
NEW
An nodejs boilerplate packaged with Typescript, Docker, Kubernetes, PM2, Eslint, Prettier, VSCode config, Winston, Typedoc, Nodemon, AVA, PromClient, JWT, Editorconfig, OpenAPI/Swagger, Jaeger/Open Tracing, etc.
License: MIT License
TypeScript 91.19%
Dockerfile 1.74%
Makefile 0.58%
HTML 1.99%
JavaScript 3.60%
Shell 0.90%
node-skeleton's Issues
ava has no built-in endpoint test capability.
Push the docker image to Docker Hub for people to pull and use.
Add ability to spin up Kubernetes cluster with node skeleton containers
When I try to attach to the running container it throw this error:
> Executing task: npm run watch <
> node-skeleton@ 1.0.0 watch
> tsc -w -p ./
sh: line 1: tsc: command not found
The terminal process " bash '-c', 'npm run watch'" terminated with exit code: 127.
Press any key to close the terminal.
What I did:
git clone [email protected] :tvvignesh/node-skeleton.git
Open integrated VSCode terminal and execute this command in it: docker-compose up --build
Now in VSCode I press ctrl + shift + d
and try to attach to docker
uname -a
output:
Linux kasir 5.10.84-1-MANJARO #1 SMP PREEMPT Wed Dec 8 09:50:30 UTC 2021 x86_64 GNU/Linux
docer version
output:
Client:
Version: 20.10.11
API version: 1.41
Go version: go1.17.3
Git commit: dea9396e18
Built: Sat Nov 20 12:57:52 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.11
API version: 1.41 (minimum version 1.12)
Go version: go1.17.3
Git commit: 847da184ad
Built: Sat Nov 20 12:57:08 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.5.8
GitCommit: 1e5ef943eb76627a6d3b6de8cd1ef6537f393a71.m
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
I know you planned on Jenkins, but public/FOSS repos are already using either CircleCI or Travis.
Update ESLint rules to enable good coding standards. Take inspiration from existing rules from other projects.