GithubHelp home page GithubHelp logo

typescript-web-framework / twf-cli Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 348 KB

TypeScript Web Framework CLI

License: MIT License

JavaScript 2.84% TypeScript 97.16%
web rest api restapi apirestfull apirest framework web-app web-application web-framework web-development cli commandline-interface

twf-cli's Introduction

dependencies Status Known Vulnerabilities Maintainability Documentation Status Build Status npm version Greenkeeper badge

TypeScript Web Framework Command Line Interface

TypeScript Web Framework CLI

Features

  • Create project
    • Current Directory
    • Own Directory
  • Generate API Controller
    • Default CRUD
      • @HttpPost create()
      • @HttpGet read()
      • @HttpPut update()
      • @HttpDelete delete()
  • Remove API Controller
  • Verify project structure
    • Verify existing www
    • Verify existing package.json
    • Verify existing src
    • Verify existing src/manifiest.json
    • Verify existing src/controllers
    • Verify existing src/annotations
    • Verify existing src/core
    • Verify existing src/app.ts
    • Verify existing src/server.ts
    • Verify existing src/typings.d.ts
  • Version info & comparison
    • CLI Version
    • Project Version
    • Node Version
    • NPM Version
  • Clean project
    • Remove www
    • Remove dist
    • Remove temp
    • Remove node_modules
    • Remove package-lock.json
  • Install dependencies
  • Serve project
  • Generate http property on controller
  • Remove http property on controller
  • Test Project(Unit Testing)
  • Build Project
  • Generate compiled binary package
    • Windows
    • Linux
    • OSX

Commands

Start Project

To start a new project on current directory you don't need set project name

!IMPORTANT

twf-cli does not interpret . or ...

twf start

To start a new project on with a own directory you need set project name

twf start MyProject

Clean Project

twf clean

Install Dependencies

twf install

Verify Project

twf verify

Serve

twf serve

Generate Controller

# twf add controller [name] [default route]
twf add controller index
twf add controller index /profile/:id
twf add controller main/index /profile/:id

twf-cli's People

Contributors

greenkeeper[bot] avatar olaferlandsen avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

twf-cli's Issues

Providers

Command Line Interface

  • Easy install Database Providers(twf add provider ...)
  • Easy install ORM's(twf configure orm ...)
  • Easy Model creation(twf add model ...)
    • Import Database (twf import ...)
    • Define Schema (mongoose)
    • Define model(Sequelize)
    • Define model(generic)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.