@dev-frog/create-microservice
v1.0.1
Published
`create-microservice` is a CLI tool to quickly scaffold a new microservice with a predefined template, using **TypeScript**, **Express.js**, and **Docker**.
Readme
Create Microservice CLI 🚀
create-microservice is a CLI tool to quickly scaffold a new microservice with a predefined template, using TypeScript, Express.js, and Docker.
Features
- Pre-configured TypeScript project setup.
- Built-in Express.js server template.
- Includes a Dockerfile for containerization.
- Ready-to-use
tsconfig.jsonandpackage.json. - Supports dependency management with Yarn.
Installation
To use the CLI, run the following command with npx (no installation required):
npx create-microservice <service-name>Here’s the folder structure:
my-new-service/
├── src/
│ ├── server.ts # Main server file
├── package.json # Project metadata and dependencies
├── tsconfig.json # TypeScript configuration
├── Dockerfile # Docker build file