All Projects → uptownhr → nuxt-express-module

uptownhr / nuxt-express-module

Licence: MIT license
Add express routes to your nuxt app

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to nuxt-express-module

nuxt-ts-module
A tiny module to use Typescript within Nuxt.js application.
Stars: ✭ 21 (-65.57%)
Mutual labels:  nuxtjs
nuxt
Nuxt 3 and Vue 3 client for genealogy project. Family tree and genealogy data processing website software client.
Stars: ✭ 97 (+59.02%)
Mutual labels:  nuxtjs
nuxtjs-nestjs-starter
Starter project for nuxtjs and nestjs all in one integrated.
Stars: ✭ 56 (-8.2%)
Mutual labels:  nuxtjs
don-blog
一个基于Vue.js + Nuxt.js + SCSS + ES6/7 + Node.js + Koa.js + MySQL + Redis开发的个人博客。
Stars: ✭ 77 (+26.23%)
Mutual labels:  nuxtjs
json.pizza
Online JSON formatter and prettifier
Stars: ✭ 72 (+18.03%)
Mutual labels:  nuxtjs
vergihesaplayici.com
vergihesaplayici.com, calculates taxes.
Stars: ✭ 44 (-27.87%)
Mutual labels:  nuxtjs
create-nuxt-tailwind-app
[DEPRECATED] Use create-nuxt-app, they added full tailwindcss & purgecss support
Stars: ✭ 32 (-47.54%)
Mutual labels:  nuxtjs
electro
A free and open-source Automatic Account Creator (AAC) written in Javascript Stack;
Stars: ✭ 20 (-67.21%)
Mutual labels:  nuxtjs
emojic.ch
顔認識で人の顔を😇に変換するWebサービス「えもじっく」
Stars: ✭ 13 (-78.69%)
Mutual labels:  nuxtjs
SSE-Github
This repository contains the demo app for the blog
Stars: ✭ 17 (-72.13%)
Mutual labels:  nuxtjs
netflix-show-generator
A tool for generating Netflix show image
Stars: ✭ 18 (-70.49%)
Mutual labels:  nuxtjs
nuxt-cordova-app
📱 Nuxt JS (Vue JS) + Vuetify 2 SPA hybrid demo app built using Cordova
Stars: ✭ 48 (-21.31%)
Mutual labels:  nuxtjs
ycparak
🎧 Personal site, blog and note taking system
Stars: ✭ 23 (-62.3%)
Mutual labels:  nuxtjs
wangxin-study
浪树学习考试系统(wangxin-education)[课程点播、直播、刷题、考试、支付、营销],致力打造一个低成本通用的在线教育系统,让用户直接通过系统可视化配置并尽可能无须修改任何代码即可实现上线商用。系统采用前后端分离模式,前台和移动端采用vue.js为核心框架,后台采用Java语言,框架springboot+spring+mybatis+redis+mysql。系统目前主要功能有课程点播、直播、练习、考试、支付、营销等功能。
Stars: ✭ 267 (+337.7%)
Mutual labels:  nuxtjs
lumen-cms
GraphQL API-First CMS based on NodeJS and Vue 2, Nuxt and Vuetify
Stars: ✭ 77 (+26.23%)
Mutual labels:  nuxtjs
covid19
愛知県 新型コロナウイルス感染症対策サイト / Aichi COVID-19 Task Force website
Stars: ✭ 68 (+11.48%)
Mutual labels:  nuxtjs
violet
🖼 Markdown based portfolio website for haiji.co / namika.hmsk.co
Stars: ✭ 80 (+31.15%)
Mutual labels:  nuxtjs
vue-link
One component to link them all 🔗
Stars: ✭ 65 (+6.56%)
Mutual labels:  nuxtjs
unnue-nuxt
开媛笔记,基于nuxt ssr首屏服务器端渲染 ⚡。用于分享、记录、交流和学习,希望可以帮助到小伙伴们。同时网站在永久更新,备好鸡血,一起来战 Ooh aah!
Stars: ✭ 98 (+60.66%)
Mutual labels:  nuxtjs
bluise
🍄 Bluise - A Nuxt.js & Netlify CMS boilerplate.
Stars: ✭ 132 (+116.39%)
Mutual labels:  nuxtjs

nuxt-express-module

npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style

Depricated

Everyone, I do not recommend using this module. This is no longer maintained and probably broken. I also recommend checking https://nuxtjs.org/api/configuration-servermiddleware/#usage, as Nuxt provides this as a baked in feature.

📖 Release Notes

Features

Provides express and express/routes directory to write express routes within nuxt. The module will watch for all files within the express directory for changes and hot-reload without taking down the entire nuxt server.

Setup

  • Add nuxt-express-module dependency using yarn or npm to your project
  • Add nuxt-express-module to modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    'nuxt-express-module',

    // With options
    ['nuxt-express-module', { /* module options */ }],
 ]
}
// express/routes/index.js sample
const {Router} = require('express')
const router = Router()

router.get('/api/test', (req, res) => {
  res.send('hello')
})

module.exports = router

Options

expressPath

Overrides the default path of where the express directory is

routesPath

Overrides the default path of where express/routes/index.js is located

Usage

Module Description

Development

  • Clone this repository
  • Install dependnecies using yarn install or npm install
  • Start development server using npm run dev

License

MIT License

Copyright (c) James Lee [email protected]

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].