8000 GitHub - andriy101/create-restool-app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andriy101/create-restool-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0