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
- Host: GitHub
- URL: https://github.com/defra/rod-licence-prototype
- Owner: DEFRA
- Created: 2016-11-28T10:46:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T09:44:30.000Z (almost 8 years ago)
- Last Synced: 2025-03-02T06:29:57.302Z (over 1 year ago)
- Language: CSS
- Homepage: https://www.gov.uk/fishing-licences/buy-a-fishing-licence
- Size: 1.89 MB
- Stars: 2
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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