Directory structure

The directory structure for a newly created trainjs app:

.
├── app
|   ├── controllers
|   └── models
├── config
|   ├── application.js
|   ├── database.json
|   └── routes.js
├── public
|   ├── assets
|   ├── partials
|   └── index.html
├── package.json
└── README.md

An overview of what each of these does:

File / Directory Description

app/

Back-End Core application code, including models, controllers, and helpers

config/

Application configuration

public/

Front-End Core application code, including services, controllers, and partials

public/assets

Applications assets such as cascading style sheets (CSS), JavaScript files, and images

package.json

Module requirements for this app

README.md

A brief description of the application