Skip to content

Okanjo/okanjo-boilerplate

Repository files navigation

Okanjo Boilerplate

Node.js CI Coverage Status

This project delivers a fully working application using the Okanjo framework. You can use this app as a starting point for new web applications.

The Okanjo Boilerplate app includes a simple webpack-based build process, supporting:

  • Webpack + Babel – so you can use the latest and greatest ECMA features
  • React + Redux – for UI, with JSX support
  • Bootstrap + React Bootstrap – for fast UI prototyping
  • Sass – For friendlier styling

Of course, if you don't need a UI, you are free to remove all UI and webpack components!

Installation

To run this app, you will need:

Once cloned, run npm to install the required dependencies.

For development:

$ npm i

This will install all dependencies needed to run the app in development mode

For production:

$ npm i --production

This will install only the dependencies needed to run the pre-built app

Running

To start the app:

$ npm start

Building

To run the build pipeline:

$ npm run build

Testing

To run unit tests and code coverage:

$ npm run report

Scripts

All the scripts registered are:

  • npm run clean – Purges the coverage and build artifacts
  • npm run build – Runs the webpack build pipeline
  • npm run test – Runs the unit tests (no coverage)
  • npm run cover – Runs the unit tests with coverage
  • npm run lint – Runs eslint for code quality checks
  • npm run report – Runs unit tests with coverage and eslint quality checks
  • npm run watch – Runs the webpack build pipeline with updates enabled
  • npm run start – Starts the app

Related Documentation

About

Starting point for API and UI apps using the Okanjo App Framework

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors