An open API service indexing awesome lists of open source software.

https://github.com/defra/rod-licence-prototype

Defra HAPI version of GOV Prototype Kit, used to test design of
https://github.com/defra/rod-licence-prototype

Last synced: 21 days ago
JSON representation

Defra HAPI version of GOV Prototype Kit, used to test design of

Awesome Lists containing this project

README

          

# rod-licence-prototype

## A hapi-based nodejs web server enterprise-ready project boilerplate.

### Basics

A hapi-based nodejs web server enterprise-ready project boilerplate.

Comes with these opinions out-of-the-box:

- [hapijs](https://github.com/hapijs/hapi)
- Web framework
- [standardjs](http://standardjs.com/)
- Linting
- [browserify](https://github.com/substack/node-browserify)
- Clientside javascript
- [pm2](https://github.com/Unitech/pm2)
- Process manager
- [handlebars](http://handlebarsjs.com/)
- Template engine
- [npm-scripts](https://docs.npmjs.com/misc/scripts)
- Build tool

### Principles

- Production-ready & enterprise quality
- Keep it Simple - hapi.js is super simple but elegant and powerful too
- Only intended as a baseline, nothing is mandated, only recommended

### Prerequisites

- node.js 4.x.x
- npm
- pm2 installed globally

### Getting started

- $ git clone https://github.com/DEFRA/rod-licence-prototype

- $ cd rod-licence-prototype

- Install dependencies

- $ npm install

- Build

- $ npm run build

- Start server

- $ node index

- Open http://localhost:3002