Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 989 Bytes

LAYOUT.md

File metadata and controls

27 lines (18 loc) · 989 Bytes

Directory Layout

The application is split into two main directories client and server

server/

Keep all server side code in server/

  • server.js - express server setup and configuration
  • config.js - environment variables for app configuration
  • email.js - util for sending email via SendGrid
  • notify.js - util for sending notifications (via email)
  • routes/ - express middleware
  • views/ - ejs templates rendered by express
  • db/ - mongoose models

client/

static content is served from this directory client/

  • app/ - Angular code and templates

Follows this guide for structure

and try to follow to this Angular Style Guide

  • assets/ - static assets not related to Angular (css/images/js)

  • dist/ - build directory for minified and concated angular .js files, plus bower components