Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
generator-atomiq
Advanced tools
Generate a Node microservice with Docker, Express, Babel, and Node Inspector debugging support
Generate a Node microservice with Docker, Express, Babel, Node Inspector support, and optional directory-based routing conventions.
This is a generator for atomiq.
atomiq
provides very lightweight structure and support useful for
Express-based microservices. It is not a framework and doesn't get in
the way of Express, but it does offer a nice convention for
directory-based routing that you can use if you choose to.
This generator will scaffold an app that correctly handles signals
for graceful server shutdown, including inside of a Docker container.
It provides a useful set of docker-compose files for running containers
for production and development (mounts the local dist
directory
during development).
It generates a few sample routes using ES6 classes and provides a simple Node.js make script that supports building, running, and testing locally and in a Docker container.
node make clean
- remove the dist
directorynode make babel
- transpile src
to dist
with sourcemaps (ES6 and async/await support)node make build
- transpile, then build a Docker imagenode make run
- start in container or start locally (--local)node make test
- run mocha tests in container or locally (--local)node make debug
- run with debugging support in container or locally (--local)node make watch
- when anything in src changes, re-transpile to distnode make monitor
- when anything in dist changes, restart server in container or locally (--local)node make host
- get Docker machine IP:PORT for the app running in a containerFeatures:
First, install Yeoman and generator-atomiq using npm. Requires Node.js v4 or v5.
npm install -g yo
npm install -g generator-atomiq
Then generate your new microservice project:
yo atomiq [name]
See new project README.md
for further instructions.
This generator was build with Yeoman.
MIT © atomiq.io
FAQs
Generate a Node microservice with Docker, Express, Babel, and Node Inspector debugging support
The npm package generator-atomiq receives a total of 32 weekly downloads. As such, generator-atomiq popularity was classified as not popular.
We found that generator-atomiq demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.