Skip to content

vgeruso/cpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPN (create project node)

basic Node ES6 API project creator

Get Started

Required programs

The cpn requires the following systems installed:

Install

In the root directory ~/ execute:

$ wget https://raw.githubusercontent.com/vgeruso/cpn/2.0.2/install.sh
$ sudo chmod 733 install.sh
$ ./install.sh

or

$ bash install.sh

Running CPN

Run in a required folder:

If your project is JavaScript run:

$ cpn init -js my-project

If your project is TypeScript run:

$ cpn init -ts my-project

'my-project' means the name of your project

To start your application:

$ cd my-project/
$ yarn dev

or

$ yarn start

will be running on: http://localhost:3333/api/

Created by Victor Geruso