Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

keetela/niveloio

Repository files navigation

Niveloio Build Status Coverage Status Maintainability dependencies Status

Niveloio API Standards

Setup Instructions

Install dependencies:

$ npm install

Startup the Server:

$ npm start

Run Tests:

$ npm run test

RESTful URLs

Method Endpoint Description
GET /api/v1/posts List all posts
GET /api/v1/posts/:postId Query one post
POST /api/v1/posts Create a new post
PUT /api/v1/posts/:postId/publish Publish a new post
PUT /api/v1/posts/:postId/unpublish Unpublish a post
DELETE /api/v1/posts/:postId Delete a post

Request & Response Examples

API Resources