generator-koa-typescript
Yeoman Project Generator for Koa Web Applications developed with TypeScript.
Requirements
- NodeJS v8.x
Features
- Koa v2 with Body Parser & Router
- TypeScript & TSLint
- Logging for Development & Production
- Watch mode for automatic restarts during development
Installation
npm install -g yo generator-koa-typescript
Usage
cd /my_projects_directoryyo koa-typescript [<new_dir_name>]
npm
commands list
npm run watch-server # Start the Koa server in watch mode npm run build-server # Build the server for production npm start # Run the server for production
To Do List
- Tests
- Static file serving
- Probably some other things!
Pull requests welcome!
License
MIT