npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-blip-api-kates

v1.0.12

Published

Yeoman generator for BLiP apis projects with helm and kubernetes.

Downloads

16

Readme

Generator BLiP API Kates

Yeoman generator for a API using BLiP and ready to Kubernetes and helm.

NPM Version Downloads Travis Status CircleCI Status AppVeyor Status Coveralls Status License

File Structure

Assuming your folder is called blip-bot-project. Whatever name you choose will replace all occurrences of that string in the project

 📁blip-bot-project
 |__📁charts
    |__📁blip-bot-project
    |   |__📁templates
    |   |   |__📃{_helpers.tpl}
    |   |   |__📃{autoscale.yaml}
    |   |   |__📃{deployment.yaml}
    |   |   |__📃{ingress.yaml}
    |   |   |__📃{secrets.yaml}
    |   |   |__📃{service.yaml}
    |   |__📃{.helmignore}
    |   |__📃{Chart.yaml}
    |   |__📃{values.yaml}
 |__📁src
    |__📁config // The app config
    |   |__📃{default.json}
    |   |__📃{index.js}
    |   |   |__📃{...}
    |__📁controllers // The controllers
    |   |__📃{example-controller.js}
    |   |__📃{health-check-controller.js}
    |__📁facades // The facades
    |   |__📃{blip-facade.js}
    |   |__📃{example-facade.js}
    |__📁middlewares // The middlewares
    |   |__📃{error-middleware.js}
    |   |__📃{logger-middleware.js}
    |   |__📃{res-body-middleware.js}
    |   |__📃{validator-middleware.js}
    |__📁models // The models
    |   |__📁errors // The error models
    |   |   |__📃{bad-request-error.js}
    |   |   |__📃{index.js}
    |   |   |__📃{no-content-error.js}
    |   |__📃{route.js}
    |__📁providers // The providers
    |   |__📃{blip-provider.js}
    |   |__📃{logger-provider.js}
    |__📁routes // The routes
    |   |__📃{example-routes.js}
    |   |__📃{health-check-routes.js}
    |   |__📃{index.js}
    |   |__📃{routes.js}
    |__📁services // The services
    |   |__📃{blip-service.js}
    |   |__📃{example-service.js}
    |__📁validators // The schema validators
    |   |__📃{example-validator.js}
    |__📃{app.js} // The app startup config
    |__📃{server.js}
|__📁test // The tests
|   |__📃{example.test.js}
|   |__📃{health-check.test.js}
|   |__📃{swagger.test.js}
|__⚙️.editorconfig
|__⚙️.eslintignore
|__⚙️.eslintrc.json
|__⚙️.gitattributes
|__⚙️.gitignore
|__⚙️.prettierrc
|__⚙️LICENSE
|__⚙️package.json
|__⚙️README.md
|__🐋Dockerfile

Usage

Generate without install Yeoman

# Create a directory for your project && Change into directory
$ mkdir my-api-name && cd my-api-name

# Generate a project
$ npm init yo generator-blip-api-kates

Generate installing Yeoman

  • Install Yeoman
$ npm install -g yo
  • Install Generator
$ npm install -g generator-blip-api-kates
  • Creating a project
# Create a directory for your project && Change into directory
$ take my-api-name
# Or
$ mkdir my-api-name && cd my-api-name

# Generate a project
$ yo blip-api-kates
  • Running project

| Action | Usage | |------------------------------------------|---------------------| | Starting development mode | npm start | | Linting code | npm run lint | | Running unit tests | npm run jest | | Running lint + tests | npm test | | Running code coverage | npm run coverage | | Sending coverage results to Coveralls.io | npm run coveralls |

Development

Prerequisites

$ npm install -g yo

Clone the repo

$ git clone https://github.com/chr0m1ng/generator-blip-api-kates.git

Run generator

# Change into directory
$ cd generator-blip-api-kates

# Link generator
$ npm link

# Run generator
$ yo blip-api-kates

Author

This generator was created based on original oss generator created by Roberto Achar .

License

MIT