Skip to content

A Basic HTTP Service with JSON API built with Node.js, Express, MongoDB

Notifications You must be signed in to change notification settings

superprat/saltside

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaltSide Test

A Basic HTTP Service with JSON API built with Node.js, Express, MongoDB. The service is a bird registry and it will support the following requests:

  • GET /birds - List all birds
  • POST /birds - Add a new bird
  • GET /birds/{id} - Get details on a specific bird
  • DELETE /birds/{id} - Delete a bird by id

The MongoDB Database is hosted on mlabs.com. The Connection string is specified in .env file

Setting Up

# Get the latest snapshot
git clone https://github.com/superprat/saltside.git prateekgupte-saltside

# Change directory
cd prateekgupte-saltside

# Install NPM dependencies
npm install

# Start the server
node app.js

Test Suite

# To execute the unit tests make sure the server is running and then in another shell
mocha

About

A Basic HTTP Service with JSON API built with Node.js, Express, MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published