New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

happi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happi

Happi-based Web API Framework

latest
Source
npmnpm
Version
0.9.1
Version published
Maintainers
1
Created
Source

happijs

Happi-based Web API Framework

Installation

After nodejs installed:

# Get the latest stable release of Happi
$ npm install happi -g

Your First Happi Project

Create a new app:

# Create the app
$ happi new testProject

Run the app:

# cd into the new folder
$ cd testProject

# fire up the server
$ happi run

Generate a REST API:

# Generate new api
$ hapi generate api user

# Result
# ./api/models/User.js
# ./api/controllers/UserController.js
# ./api/services/UserService.js

# Generate individual components
$ happi generate [controller, model, service, apdapter, policy, response, config] << component name >>

# [[** Project structure **]]
# ./api/models
# ./api/controllers
# ./api/services
# ./api/policies
# ./api/responses
# ./api/config

Compatibility

Happi is built on Node.js v6.x, Express v4.x, and Socket.io v1.x.

Keywords

happi

FAQs

Package last updated on 08 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts