koa2-skeleton
koa2-skeleton copied to clipboard
A simple boilerplate for a Koa v2 web-app.
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:
- Use the Download Zip button at the top right.
- Run
$ git clone [email protected]:saadq/koa2-skeleton.gitin 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