xavidram / generator-next

Generator that provides a basic setup for a Node project with Express and Typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generator-NExT

NPM version Coverage Status Build Status

Generator that provides a basic setup for a Node project with Express and Typescript.

alt tag

Installation

First, install Yeoman and Generator-NExT using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-next

Then generate your new project:

yo next <project-name>

All files will be created inside the directory ./<project-name> (relative to your current position).

Feel free to learn more about Yeoman.

Documentation

Used frameworks, libraries and tools:

Language:

Runtime:

Build:

  • Gulp
  • ... check the gulpfile.js in generators/app/templates for all used plugins

Web Framework:

Logging:

Test:

Others:

Changelog / Releases

Check here for available releases.

Release strategy
For versions 0.x.x, additional features and best practices will be added to the extended sub-generator.

yo next:extended <project-name>

However, they will all be included in the resulting schaffolding, so you have to delete the stuff you don't want to keep manually.
In releases >1.x.x, all features will be selectable during the setup process and cross-compatibility will be ensured for all combinations.

Roadmap

Version 0.5.x: Implement sub generator which adds rxjs
Version 0.6.x: Implement sub generator which adds mongoose
Version 0.7.x: Implement sub generator which adds pug
Version 1.x.x: Combine all sub generators combined depending on the user's responses.

In discussion:

  • Add build task to generate windows executable
  • Add generator (option) which creates systemd init scripts to run server as service on *nix distributions

License

MIT

About

Generator that provides a basic setup for a Node project with Express and Typescript.

License:MIT License


Languages

Language:JavaScript 87.3%Language:TypeScript 12.7%