Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 564 Bytes

File Structure

To help understand the guides better, we will stick to this pattern of file structure in our examples.

├── config/
│   ├── db.js
├── collections/
│   ├── Posts.js
├── models/
│   ├── Post.js
├── index.js
└── package.json

Initialize the project

It is best to generate your package.json file by doing:

$ npm init

Dependencies

And then, make sure firenze.js AND your preferred adapter is installed:

$ npm install --save firenze firenze-adapter-mysql