All Projects → fukuiretu → Nuxt Healthcheck

fukuiretu / Nuxt Healthcheck

Nuxt.js module for handle healthcheck

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Nuxt Healthcheck

Nuxt Optimized Images
🌅🚀 Automatically optimizes images used in Nuxt.js projects (JPEG, PNG, SVG, WebP and GIF).
Stars: ✭ 717 (+2887.5%)
Mutual labels:  nuxt, nuxtjs
Nuxt Firebase Sns Example
Nuxt v2 & Firebase(Hosting / Functions SSR / Firestore), Google Auth SNS Example.
Stars: ✭ 485 (+1920.83%)
Mutual labels:  nuxt, nuxtjs
Composition Api
Composition API hooks for Nuxt.
Stars: ✭ 441 (+1737.5%)
Mutual labels:  nuxt, nuxtjs
Vue Gallery
📷 Responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.
Stars: ✭ 405 (+1587.5%)
Mutual labels:  nuxt, nuxtjs
Vue Lazy Hydration
Lazy Hydration of Server-Side Rendered Vue.js Components
Stars: ✭ 797 (+3220.83%)
Mutual labels:  nuxt, nuxtjs
Vercel Builder
Vercel Builder for Nuxt.js
Stars: ✭ 437 (+1720.83%)
Mutual labels:  nuxt, nuxtjs
Sitemap Module
Sitemap Module for Nuxt
Stars: ✭ 539 (+2145.83%)
Mutual labels:  nuxt, nuxtjs
Nuxt Material Admin
Vue-CLI Boilerplate based on Nuxt and vue-material-admin template.
Stars: ✭ 310 (+1191.67%)
Mutual labels:  nuxt, nuxtjs
Tailwindcss Module
Tailwind CSS module for Nuxt
Stars: ✭ 678 (+2725%)
Mutual labels:  nuxt, nuxtjs
Doccano
Open source annotation tool for machine learning practitioners.
Stars: ✭ 5,600 (+23233.33%)
Mutual labels:  nuxt, nuxtjs
Awesome Nuxt
A curated list of awesome things related to Nuxt.js
Stars: ✭ 4,285 (+17754.17%)
Mutual labels:  nuxt, nuxtjs
Vuecnodejs
⚽️🎉Vue初/中级项目,CnodeJS社区重构。( a junior project of Vue.js, rewrite cnodejs.org ) 预览(DEMO):
Stars: ✭ 705 (+2837.5%)
Mutual labels:  nuxt, nuxtjs
Nuxt Purgecss
Drop superfluous CSS! A neat PurgeCSS wrapper for Nuxt.js
Stars: ✭ 356 (+1383.33%)
Mutual labels:  nuxt, nuxtjs
Device Module
Nuxt.js module for detecting device type.
Stars: ✭ 436 (+1716.67%)
Mutual labels:  nuxt, nuxtjs
Vue Notion
A fast Vue renderer for Notion pages
Stars: ✭ 343 (+1329.17%)
Mutual labels:  nuxt, nuxtjs
Wuxt
Nuxt/WordPress development environment, combining the worlds biggest CMS with the most awesome front-end application framework yet.
Stars: ✭ 459 (+1812.5%)
Mutual labels:  nuxt, nuxtjs
Graphcms Examples
Example projects to help you get started with GraphCMS
Stars: ✭ 295 (+1129.17%)
Mutual labels:  nuxt, nuxtjs
Blog Front
blog-front @nuxt
Stars: ✭ 305 (+1170.83%)
Mutual labels:  nuxt, nuxtjs
Style Resources Module
Nobody likes extra @import statements!
Stars: ✭ 485 (+1920.83%)
Mutual labels:  nuxt, nuxtjs
Firebase Module
🔥 Easily integrate Firebase into your Nuxt project. 🔥
Stars: ✭ 493 (+1954.17%)
Mutual labels:  nuxt, nuxtjs

nuxt-healthcheck

Middreware for Nuxt.js that provides healthcheck.

Setup

Install with yarn:

yarn add nuxt-healthcheck

Install with npm:

npm install nuxt-healthcheck

Add nuxt-healthcheck module to nuxt.config.js

module.exports = {
  modules: [
    'nuxt-healthcheck',
  ]
}

Add additional options to healthcheck section of nuxt.config.js to override defaults

healthcheck: {
  path: '/ping',
  contentType: 'application/json',
  healthy: () => {
    return JSON.stringify({ result: 'pong' })
  }
}

Options

path

Default: '/healthcheck'

contentType

Default: 'text/plain'

healthy

Function that returns a response body.

Default: 'OK'

TODO

  • [ ] unit test

License

The npm is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].