pulpiks / create-node-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use create-node-app

Create-node-app is console toolchain. Create Node App is a way to create simple nodejs server. It offers a modern build setup with no configuration.

Get Started Immediately

All included tools that user chooses in the console are preconfigured and hidden so that you can focus on the code.

Create a project, and you’re good to go.

Install the package

  1. Clone the repo https://github.com/pulpiks/create-node-app.git

  2. cd create-node-app && npm install

To create a new app, you may choose the following methods:

  1. Run the command: npm link && create-node-base <%=RELATIVE_PATH_TO_YOUR_NEW_PROJECT=%>

  2. Provide the answers in the command line

Enjoy your new project

  1. Check how your project looks like in <%=RELATIVE_PATH_TO_YOUR_NEW_PROJECT=%>

No configuration or complicated folder structures, only the files you need to build your app. Once the installation is done, you can open your project folder:


your-node-server ls -lf

├ jest.config.js

├ .gitignore

├ package.json

├ .eslintrc.js

├ src/

├ server.js


Scripts

Inside the newly created project, you can run some built-in commands.

For example, npm run start

About


Languages

Language:JavaScript 98.1%Language:TypeScript 1.9%