All Projects → bem → bem-express

bem / bem-express

Licence: other
BEM project-stub with BEMTREE and express

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to bem-express

Project Stub
deps
Stars: ✭ 300 (+566.67%)
Mutual labels:  bem, stub, starter-kit
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (+406.67%)
Mutual labels:  bem, starter-kit
Pug Starter
Simple pug (jade) starter [framework] enabling faster delivery of HTML & CSS projects to a private server and/or automatic deployment of GitHub pages.
Stars: ✭ 328 (+628.89%)
Mutual labels:  bem, starter-kit
Html5 Boilerplate
A simple, fast, modern, pure html, css (and sass), js, live reload starter template
Stars: ✭ 65 (+44.44%)
Mutual labels:  livereload, starter-kit
Gulp Scss Starter
Frontend development with pleasure. SCSS version
Stars: ✭ 339 (+653.33%)
Mutual labels:  bem, starter-kit
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (+1184.44%)
Mutual labels:  bem, starter-kit
marmelad
Заготовка фронтенд проекта для продвинутых и начинающих 🤘. Хорошо подходит для поддержания единой структуры проектов в команде и легкого переиспользования готовых блоков между проектами.
Stars: ✭ 15 (-66.67%)
Mutual labels:  bem, starter-kit
electron-angular-ngrx
An Angular (6x) Electron seed featuring @angular/cli, @ngrx/platform, and Typescript. Complete with HMR workflow
Stars: ✭ 39 (-13.33%)
Mutual labels:  livereload
The-HTML-and-CSS-Workshop
A New, Interactive Approach to Learning HTML and CSS
Stars: ✭ 65 (+44.44%)
Mutual labels:  bem
arelo
a simple auto reload (live reload) utility
Stars: ✭ 54 (+20%)
Mutual labels:  livereload
ts-detox-example
Example TypeScript + React-Native + Jest project that integrates Detox for writing end-to-end tests
Stars: ✭ 54 (+20%)
Mutual labels:  starter-kit
coconat
🍥 StarterKit Builder for rocket-speed App creation on 🚀 React 17 + 📙 Redux 4 + 🚠 Router 5 + 📪 Webpack 5 + 🎳 Babel 7 + 📜 TypeScript 4 + 🚔 Linters 23 + 🔥 HMR 3
Stars: ✭ 95 (+111.11%)
Mutual labels:  starter-kit
bem-sdk
BEM SDK packages
Stars: ✭ 83 (+84.44%)
Mutual labels:  bem
modular-starter-kit
The starter kit with entire modular approach to help remove boilerplate code in developing
Stars: ✭ 14 (-68.89%)
Mutual labels:  starter-kit
svelte-starter-kit
Svelte with brilliant bells and useful whistles
Stars: ✭ 384 (+753.33%)
Mutual labels:  starter-kit
mock
Utilities to help mock behavior, spy on function calls, stub methods, and fake time for tests.
Stars: ✭ 31 (-31.11%)
Mutual labels:  stub
fire-starter
Starter kit for the fireloop.io platform
Stars: ✭ 16 (-64.44%)
Mutual labels:  starter-kit
InstantMock
Create mocks easily in Swift
Stars: ✭ 88 (+95.56%)
Mutual labels:  stub
ionic2-firebase-hackathon-starter
A hackathon starter for ionic2 using firebase, already has user authentication, reset password, google login etc
Stars: ✭ 34 (-24.44%)
Mutual labels:  starter-kit
padstone
Padstone is a Craft CMS starter kit with a curated configuration, Boilerplate templates, and handpicked plugins.
Stars: ✭ 18 (-60%)
Mutual labels:  starter-kit

bem-express

Almost the same as project-stub but with BEMTREE and Express.

Build Status

Installation

git clone https://github.com/bem/bem-express.git
cd bem-express
npm i

Development

npm run dev

will run initial enb make command and then start the server with nodemon which will restart it on any server file update. Also chokidar will watch for changes in *.blocks/** and rebuild the project automatically. Then livereload will update the page in the browser.

You may also set NO_LIVERELOAD env variable to switch livereload off:

NO_LIVERELOAD=1 npm run dev

You may also run rebuild manually with enb make or with external watcher (e.g. npm run watch). To switch off automatic rebuild use NO_AUTOMAKE env variable:

NO_AUTOMAKE=1 npm run dev

Production

YENV=production enb make
NODE_ENV=production node server

Templating

Templating starts in root block which replaces itself with page or any other context (if specified as argument to render function).

Pro tips

Run server in dev mode with NODE_ENV=development environment variable (nodemon will set it for you).

In dev mode

  • Add ?json=1 to URL to see raw data
  • Add ?bemjson=1 to URL to see BEMJSON generated with BEMTREE templates.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].