koa-mongodb-example
koa-mongodb-example copied to clipboard
Simple example of using MongoDB with the Koa web framework and the Swig template engine
Koa MongoDB Example
This project shows you how to create a simplee CRUD app using the Koa framework, the Swig template engine, and the Monk MongoDB library.
Use
To run this example, first launch a local MonoDB instance.
mongod
Then run the following commands in the root directory of this project.
npm install
npm start
Special Thanks
Thank you Shiju Varghese for writing the original tutorial. I simply split the example into multiple files and added support for MongoDB.