lucy services sample template
npm run make
-
npm start
ornpm run dev
to watch files changes as you dev
Run docker image
npm run doc
docker build -t lucy/example .
docker run --network=host --restart=always -d lucy/example
Directories structure
.
├── Dockerfile
├── README.md
├── package-lock.json
├── package.json
├── built
│ //built output dir, !not commited to version control
├── config
│ ├── default.json
│ ├── development.json
│ ├── production.json
│ ├── staging.json
│ └── test.json
├── src
│ ├── example.service.ts
│ ├── example.ts
│ ├── index.ts
│ ├── lib/
│ ├── index.ts
│ ├── ...
│
├── test
│ ├── example.service.spec.js
│ ├── ...
│
├── jest.config.js
└── tsconfig.json