Skip to content
Devin Smith edited this page Feb 3, 2017 · 5 revisions

The backend requires Node.js and MongoDB. While developing, you will likely want a local development environment, and when publishing, you will likely want it hosted. While there are many ways to setup either, where are 2 of the easiest.

To get started, you only need to follow the local setup instructions. You can Setup a remote server for production later.


Local Setup

  1. Download and install MongoDB for your platform
  1. You probably already have Node.js, but Install it if you don't
  2. Go to the ionic-video-chat-server directory and type npm install into the terminal
  3. Type npm start in the terminal to start the server

Remote server setup

The easiest way to get rolling with a server is to deploy to Heroku.

  1. Signup for Heroku if you have not already
  2. Click New then Create new App
  3. Click Create
  4. In the App settings, go to Deploy
  5. I recommend using GitHub to deploy rather than Heroku Git. If you need help setting up a GitHub repo, Checkout GitHub's Docs
  6. In Resources, Add an mLab MongoDB install
  7. Once you visit the app in heroku it should be setup!
Clone this wiki locally