/ngGrablab

Grablab.org website now featured by NodeJS, Loopback.io and AngularJS.

GNU General Public License v2.0GPL-2.0

Grablab.org web application source code.

Source code for Grablab.org website.

Current status: NotFinished.

Tools and frameworks used:

  • NodeJS - platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.
  • LoopBack - API framework based on ExpressJS.
  • AngularJS - front-end framework.
  • Docker - assemble multi-container apps, run on any infrastructure.
  • Python - some additional backend things.
  • fig.sh - fast, isolated development environments using Docker.

Installation (Ubuntu 14.10)

How to install? First of all I suggest to run system update/upgrade first.

    sudo apt-get update && sudo apt-get upgrade

install nodejs

    curl -sL https://deb.nodesource.com/setup | sudo bash -
    sudo apt-get install -y nodejs

...Read more install nodejs

install Docker

    sudo apt-get install docker.io

...Read more install docker

Docker containers

How to login into container to check something?

    sudo docker run -t -i grablab/grablab-org-api /bin/bash

How to build own container (in case):

    sudo docker build -t="<image_name>" [DIR_WITH_DOCKERFILE]

Gulp commands

  • gulp lint run few linters over js code and html/css files.
  • gulp test run both backend and front end tests, generate coverage report.
  • gulp dev_server run devserver with livereload and karma tests
  • gulp ci continuous integration script (make it pass before commit)

Architecture decisions

  • MongoDB as a database
  • Prerender render rich javascript application pages for robots