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)
- Host: GitHub
- URL: https://github.com/a8m/koa-documentdb-example
- Owner: a8m
- Created: 2015-02-27T15:50:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-28T11:20:07.000Z (over 11 years ago)
- Last Synced: 2025-08-25T03:40:24.880Z (10 months ago)
- Language: JavaScript
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```