pourmesomecode
pourmesomecode

Reputation: 4348

Basic boilerplate with Koajs

I'm very new to Koajs (http://koajs.com/) but i've used Express quite a bit. As the team behind Express made Koa I wanted to try it.

When i'm starting a new express project all I need to type is express projectname or even just express

With koajs, is there a way I can simply type a command in like that to setup a quick, boilerplate?

Thanks!

Upvotes: 2

Views: 2596

Answers (3)

Javier Aviles
Javier Aviles

Reputation: 10695

Here there is an up-to-date well-documented boilerplate to start a REST API with KOA2 and Typescript :)

node-typescript-koa-rest

Upvotes: 0

Davuz
Davuz

Reputation: 5276

I had built a sample project for KoaJS that contains some configuration for quick starting, building with Babel ES6, routing, doing middleware, you can clone and modify as your project requirement. try koa-starter-kit here!

Upvotes: 1

James Moore
James Moore

Reputation: 1901

Koa doesn't have what you're asking for. I'd suggest looking at the koa wiki page, there are several boilerplates listed there that you could clone.

https://github.com/koajs/koa/wiki#frameworks

Upvotes: 4

Related Questions