Skip to content
Jiri Spac edited this page Jan 17, 2016 · 3 revisions

Overview

For newcomers, it is best if you look at broad Intro to Moonridge how web apps are written with Moonridge.

Why would you ever use Moonridge

Moonridge is not small-it is not too big for what it does, but it is a big commitment. There is a couple of questions you should answer 'yes' to before you start using Moonridge on your project.

  1. You want your client app to have real-time view into a database(livequerying)
  2. your DB of choice is MongoDB
  3. your ORM of choice is Mongoose

If you have a project which qualifies for all three, then using Moonridge is a good idea. It will let you reuse your socket.io connection for more than just pushing updates to the client. Saving you tons of HTTP request.

Backend

Setting up schemas

Frontend

Getting the models Queries and LiveQueries