An open API service indexing awesome lists of open source software.

https://github.com/a8m/koa-documentdb-example

A users CRUD app using Koa and DoQmentDB(DocumentDB wrapper)
https://github.com/a8m/koa-documentdb-example

Last synced: 2 months ago
JSON representation

A users CRUD app using Koa and DoQmentDB(DocumentDB wrapper)

Awesome Lists containing this project

README

          

# Koa-DocumentDB-Example
> A users CRUD app using Koa and DoQmentDB(the DocumentDB ODM Client)

#### Install
* clone this project
* add config file in the `src/` directory, should look like that:
```js
module.exports = {
HOST: 'https://your-application.documents.azure.com:443/',
OPTIONS: {
masterKey:'add-your-master-key-here'
},
DB: 'database-name' // e.g: `test`
};
```

#### Run the app:
```sh
$ node src/
```

#### Run the tests:
```sh
$ npm test
```