This is a hapijs https server basic demo, support the HTTPS protocol,jwt authentication .
Requirements
File directory
- config
- config.js
- test_data.js
- server
- https_keys
- routers
- ultis
- test
- fixtures
- view
- static
- css
- font
- img
- js
- index.html
- static
- www.js
Getting start
#clone the project
git clone https://github.com/fengqiaozhu/hapijs-demo.git
cd hapijs-demo
#install dependencies
npm install
or
yarn
#run dev
npm start
#open project website
https://localhost
#project api documentation
https://localhost/documentation