Skip to content

rohitdaryanani/bloodlines-api

Repository files navigation

#BLOODLINES-API Build Status Gittip

Description

Bloodlines is just a simple posting platform for people who are willing to donate blood, powered by node.jsand hapijs web framework, mongodb for the database, It's pretty simple and no fancy stuff, just pure api.

Documentation Work in progress

Dependencies

  • Hapi - Web framework
  • Mongoose - Object Document Mapper
  • JWT - Handles authentication

Setup

  • Install MongoDB

    • $ brew install mongodb on Mac
    • $ sudo apt-get install mongodb on Ubuntu
  • Download and Run

    • $ git clone https://github.com/rohitdaryanani/bloodlines.git && cd bloodlines will download the app, and cd to the folder once done.
    • $ mongod & to run mongodb daemon on the background
    • $ npm install should download and install all the dependencies
    • Now do $ node app.js to start the http server, and then go ahead and visit this url in your browser http://localhost:8000

Test

To run test just tye make, this runs the make file and does the following:

  • Populates DB
  • Runs test's via npm test
  • Cleans up DB

Credits

License

The MIT License

Copyright (c) 2014-2015 Rohit Daryanani

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published