Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.editorconfig
.gitignore
.npmrc
.prettierignore
README.md
install.js
package.json

README.md

bitcentivez

A fancy client/server application.

Quick Start

In any terminal, make sure MongoDB is started:

# To start MongoDB manually:
mongod --config /usr/local/etc/mongod.conf

# Or, using brew services:
brew services start mongodb

Then, in another terminal, at the root of the repo:

npm install

Once the install has finished, run the development server:

# To develop with SSR middleware:
npm run develop-ssr

# Or, to develop with static middleware:
npm run develop-static

Both develop-ssr and develop-static include live-reload.

Visit http://localhost:3030/ to see the running application.

npm run

Development:

npm install
npm test
npm run build
npm run develop-ssr
npm run develop-static
npm run lint

Everything:

Lifecycle scripts included in bitcentivez:
  install
    node $npm_package_main
  start
    npm start --prefix server
  test
    npm run test --prefix server && npm run test --prefix client

available via `npm run-script`:
  build
    npm run build --prefix client
  develop-ssr
    npm run develop-ssr --prefix server
  develop-static
    npm run develop-static --prefix server
  lint
    npm run prettier-multi && npm run prettier-pkg && npm run prettier-html
  prettier-html
    prettier --parser html --write '**/*.html'
  prettier-multi
    prettier --single-quote --trailing-comma es5 --write '**/*.{js,json,md,less}'
  prettier-pkg
    prettier-package-json --write package.json client/package.json server/package.json

Deploy to Heroku

heroku git:remote -a bitcentivez
git push heroku master

Heroku will handle running the build command.