https://github.com/squallstar/allpress
A Custom Express-based production-ready server with loads of built-in features
https://github.com/squallstar/allpress
Last synced: 2 months ago
JSON representation
A Custom Express-based production-ready server with loads of built-in features
- Host: GitHub
- URL: https://github.com/squallstar/allpress
- Owner: squallstar
- License: gpl-2.0
- Created: 2015-01-04T18:22:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-09T11:24:32.000Z (over 11 years ago)
- Last Synced: 2025-01-26T13:13:02.572Z (over 1 year ago)
- Language: CoffeeScript
- Homepage:
- Size: 285 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# Allpress
This is my personal Node.js Express development setup for production composed as follows:
- Express 4
- Coffeescript
- Custom per-environment configuration files
- Multi-thread cluster support + workers autoreload
- Skeleton for a marketing website + APIs
- Requests logging to DB
- Crash reporter (email)
- Improved Node.js Require
- SSL support
- Async
- Tons of production-ready tweaks
- Gzip, Cookie parser, body parser, Busboy (multipart)
- GeoIP
- Mailer lib + helpers (HTML + plain)
- Styled and responsive email layout (based on Mailchimp) with design by @Mintsugar
- Mailchimp SDK + helpers
- Graphicmagick and GM node library
- Jade templates
- Stripe (payments)
- Auth token (param, cookie or header) authentication for APIs
- Basic auth for /admin dir
- Foursquare SDK + helpers
- DB with Mongoskin
- DB Indexes setup on load
- DB seeds support
- Casual
- HTML Skeleton with common meta tags
- Scss to CSS with basic skeleton structure and css reset
- Useful Scss placeholders (like %vertically-centered)
- Responsive support
- Google fonts and analytics support
- Coffee to JS for the frontend (with submodules support)
- Jquery and Jquery.sortable (on demand)
- JS minification on production
- Assets expiration on server restart
- Facebook SDK
- Amazon AWS SDK + S3 bucket helper
- Loads of helpers
- Tests with Mocha, Expect.js and Superagent
- Probably something else which I don't remember right now
## Run for development
$ ./server/bin/www
You will also need to run grunt (on another tab) to compile and watch sass files:
$ grunt
## Run for production with forever
$ grunt precompile
$ NODE_ENV=production forever start ./server/bin/www
## Run the tests
$ npm test