Skip to content

vedg/saltside-birds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-- Used NodeJS, Restify npm to expose REST APIs -- Used mongoose as a ORM to communicate with MongoDB database

Prerequisites

1.Install NodeJS
	with dependencies
	{"dependencies": {
	     "restify": "*",
		"mongoose":"*",
		"require":"*",
		"mongoose-schema-extend":"*",
	   "log4js":"*"
	}}
2.Install MongoDB ad create new "Birds" database with "birds" collection

Steps to run:

  1. run command use npm install to install all dependencies

  2. $ node app.js

Server will start and listen on port 8080.

Tested all the APIs using REST Client plugin.

new bird record has "id:IntegerValue" as follows.

{ "family" : "testFamily", "name" : "testBird", "id" : 1, "continents" : [ "testContent1", "testContent2", "testContent3" ]

}

Adding test cases - 7th Nov,2016

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published