0.4.6 • Published 4 years ago

kite-tools v0.4.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

kite-cli

Command line tools for creating Kite applications.

This tool initialize a folder with TypeScript configuration file tsconfig.json and some basic files for developing Kite application.

Installation

npm install kite-tools

Usage

  1. Create a project folder, and change working directory to it:
mkdir kite-test
cd kite-test
  1. Run npm init to initialize node developing environment:
npm init
  1. Run Kite command line tools and follow the prompt to initialize Kite project:
kite init

For using everything with default, simply press enter key to walk through the wizard.

  1. Compile and run

Template source files are placed into the project if everything ends normally in the above steps, so compile and run this application:

tsc
node dist/app.server.js
  1. Create Kite modules

create a controller as file "src/controllers/user/login.controller.ts":

kite -a user/login

create a service as file "src/services/user.service.ts":

kite -s user

create model as file "src/models/user.model.ts":

kite -m user

please note that entry point "dist/app.server.js" is the default setting, please replace it with your entry point file name if you specified other values.

0.4.6

4 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.3.0

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago