/bip-backend

Bipapp API backend

Primary LanguageJavaScript

bip-backend

The Bip backend is a Node.js server exposing an API using Express.js framework, storing data in MongoDB.

Requirements

Installation

On OSX, install Node.js and Mongo using Homebrew:

brew update
brew install node mongodb

Install the Node modules dependencies (as defined in package.json):

npm install

Run

Run MongoDB:

mongod

Run the Bip backend:

npm start

TODO

  • Better handling of error (Error, statuses...)
  • Return Bip URLs for places photos, not to expose our API key
  • Cleanup models exposition method
  • Queue push notifications sending in DB