forked from linnovate/mean
-
Notifications
You must be signed in to change notification settings - Fork 1
Directory structure
Hendrik Schaeidt edited this page Nov 25, 2013
·
4 revisions
config/
- config/config.js - Put your conf settings here - db connection strings, appid etc..
- config/routes.js - Server side endpoints
- config/express.js - Express stuff (no need to touch this)
app/ Server side code (node)
- app/controllers - server side logic
- app/views - server side views (You probably don't need to put anything else if your starting)
- app/models - db
public/ Client side code (angular)
- public/js - client side logic
- public/js/services - Angular services are use to typicall communicate with remote rest apis and other services.
- public/js/controllers - Thinkster explanation about angular controllers
- public/css - clients side looks
- public/lib - 3rd party libraries built typically through bower