Install dependencies with: npm install
Create a MySQL DB, with the name specified in your .env
file (see SAMPLE.env)
Run app with the excellent Nodemon:nodemon
Point your browser at http://127.0.0.1:3000
- Nunjucks (templating)
- Nodemailer (email)
- Moment (date formatting)
- Passport (authentication)
- Express
.
├── config/ # Configuration Files
│ ├── passport.js # Passport auth strategies
│ ├── bookshelf.js # Bookshelf ORM
│ ├── routes.js # App Routes
├── controllers/ # Route handlers
├── migrations/ # DB Migrations
├── models/ # DB models
├── public/ # All publicly accessible files
│ ├── css/ # CSS
│ ├── fonts/ # Web fonts
│ ├── img/ # Images
│ ├── js/ # Clientside JavaScript
├── views/ # View Templates
├── .env # API keys, passwords, other sensitive info
|── SAMPLE.env # Example .env file
├── server.js # Main Express application file
└── package.json # NPM Dependencies and scripts