Skip to content
davidjamesstone edited this page Sep 28, 2016 · 6 revisions

Getting started

Prerequisites

  • pm2 installed globally
  • A mongodb instance

Clone an example repo

A todo list example

Or create a new project

Start by scaffolding a new project.

Directory structure

  • bin <- Build tasks go here
  • config <- Contains config files and schema
  • client <- Client-side code resides here
  • server
  • public <- Static served files go here
  • routes <- This directory holds the routes
  • views <- Templates go here
  • manifest.js <- This configuration file loads the server plugins
  • logs <- Log files are written here
  • test <- Tests live in here
  • index.js <- Program start file