Coder Social home page Coder Social logo

irevenko / forge-node-app Goto Github PK

View Code? Open in Web Editor NEW
92.0 4.0 8.0 94 KB

๐Ÿ› ๐Ÿ“ฆ๐ŸŽ‰ Generate Node.js boilerplate with optional libraries & tools

Home Page: http://npmjs.com/package/forge-node-app

License: MIT License

JavaScript 12.84% TypeScript 87.16%
npm-package nodejs node node-js npm-module boilerplate boilerplate-node cli cli-app npx

forge-node-app's Introduction

forge-node-app ๐Ÿ› ๐Ÿ“ฆ๐ŸŽŠ

A Fast Way to Generate Node.js Boilerplate With Your Favorite Development Tools and Libs

๐Ÿ’– Inspired by vue-cli

Usage ๐Ÿ›ด

Run

npx forge-node-app

Or install globally

npm i -g forge-node-app
forge-node-app

Preview ๐Ÿ”

Supported Things ๐Ÿ“„

  • VanillaJS, TypeScript, Babel
  • npm, yarn
  • ESLint, Prettier
  • dotenv, nodemon, ts-node-dev
  • Jest, Mocha + Chai
  • git repo (GitHub, GitLab)

Additonal Stuff ๐Ÿ“œ

  • Setting up Initial Folders (src, tests)
  • Setting up Initial Files (index, index.test)
  • Initing the package, Setting up Scripts and Package Details
  • Generating LICENSE, README, .gitignore, prettier and linter configs, babel and ts configs
  • Providing compatibility for all libraries with TS/Babel

Contributing ๐Ÿค

Contributions, issues and feature requests are welcome!
Feel free to check issues page

Quick start ๐Ÿš€

Clone the repo
npm install
npm run build && npm start

Tech stack ๐Ÿ“œ

  • TypeScript + ESLint(AirBNB) + Prettier
  • Inquirer for the interface
  • chalk for terminal colors
  • ora for cli spinners
  • license for LICENSE generation

ToDo ๐Ÿงพ

  • More libs (JSDoc, Process Managers, Loggers)
  • Add yargs

What i Learned ๐Ÿง 

  • Building CLI with Inquirer, ora, chalk
  • TypeScript & Babel basics
  • How to setup Modern Node.js Project
  • ESLint, Prettier, tsconf structures
  • How npm and yarn work
  • Setting up simple Unit tests with Jest, Mocha + Chai
  • Writing package manager scripts
  • Publishing npm package

License ๐Ÿ“‘

(c) 2020 Ilya Revenko. MIT License

forge-node-app's People

Contributors

irevenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

forge-node-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.