All Projects → saadq → Koa2 Skeleton

saadq / Koa2 Skeleton

Licence: mit
A simple boilerplate for a Koa v2 web-app.

Labels

Deprecated async/await is now natively supported in Node as of v7.6, so you don't need to use babel for your project.

Koa v2 Skeleton

A simple boilerplate for creating a web-app with Koa 2.

Install

You can download this app by doing one of the following:

  1. Use the Download Zip button at the top right.
  2. Run $ git clone [email protected]:saadq/koa2-skeleton.git in the command line.

Once you've downloaded the app, run npm install to get the necessary dependencies for the project.

Starting the server

Once you have all your dependencies installed, you can run npm start to start the server and then you can head over to localhost:3000

Usage

If you want to change the templating engine, simply remove jade from the dependencies and change the extension from 'jade' to whatever you want to use in the app.js file.

Contributing

Pull requests are very welcome! Please feel free to add to this if you feel like anything is missing out.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].