1.0.9 • Published 5 years ago

create-restool-app v1.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

RESTool creator

npm version npm GitHub license

RESTool Sample App

This module is an assistant creator module for RESTool sample app.

Live Demo: https://restool-sample-app.herokuapp.com/.

Create local RESTool app using Json Server module:

# with npm
npm init restool-app <app-name>
# or with yarn 
yarn create restool-app <app-name>

<app_name> is optional and defaults to 'restool-app'

Options:
 -o, --open   Open app in default browser window (enabled by default)
 -p, --port   The port on which the app will be running (defaults to 3000)

Running npm init restool-app <app-name> command will:

  • create new folder with provided <app-name> or 'restool-app' if not provided (it will be overridden if exists)
  • download RESTool code from GIT
  • install all needed NPM modules
  • run Angular build on source code
  • create server with all needed for JSON SERVER configuration files
  • run and open RESTool sample app at localhost with provided port (defaults to 3000, make sure the port is not occupied by another tasks)

Created files structure will look like:

restool-app
...
└── public
    ├── index.html
    ├── config.json
    ├── App.js
    ...
└── server
    ├── package.json
    ├── db.json
    ├── routes.json
    ...

The application is started by running npm start from server folder.

Images of the sample app are downloaded from https://www.hbo.com

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago