Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jakemmarsh/monolist-music-api

node.js server and Express API for the now-defunct music app Monolist.
https://github.com/jakemmarsh/monolist-music-api

Last synced: 5 days ago
JSON representation

node.js server and Express API for the now-defunct music app Monolist.

Awesome Lists containing this project

README

        

monolist-api [ ![Codeship Status for jakemmarsh/monolist-api](https://codeship.com/projects/ec14b0e0-5048-0133-827d-72fb7a1a2aa1/status?branch=master)](https://codeship.com/projects/107628) [![Dependency Status](https://david-dm.org/jakemmarsh/monolist-api.svg)](https://david-dm.org/jakemmarsh/monolist-api) [![devDependency Status](https://david-dm.org/jakemmarsh/monolist-api/dev-status.svg)](https://david-dm.org/jakemmarsh/monolist-api#info=devDependencies)
=============================================================================================================================================================================================

node.js server and Express API for the Monolist application. All endpoints can be seen in [`api/index.js`](https://github.com/jakemmarsh/monolist-api/blob/master/api/index.js).

---

#### To get up and running:

1. Clone this repo
2. Install node.js and NPM globally if you have not before. [Instructions here](http://blog.nodeknockout.com/post/65463770933/how-to-install-node-js-and-npm)
3. **Only necessary for development/testing:** install redis with `brew install redis` (using [Homebrew](http://brew.sh/) on OSX)
4. Run `npm install` from root project directory
5. Run `npm start` to simply start the server, or `npm run dev` to run Supervisor and Redis server

The API is served at `localhost:3000` by default, with all endpoints behind `localhost:3000/v1/`.

---

#### To run tests and generate coverage files:

1. Clone repo, install dependencies (Steps 1-3 above) **Note:** redis-server is necessary for running tests locally.
2. Run `npm test` to run all tests. Coverage files are output to `__coverage__/` directory.
3. Individual tests can be run with `node_modules/.bin/_mocha