samuelnovaes / Vue Stack
Minimalistic Boilerplate for FullStack Express and Vue.js applications
Stars: ✭ 26
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Vue Stack
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+4065.38%)
Mutual labels: express, axios, boilerplate
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (+23.08%)
Mutual labels: express, axios, boilerplate
Electron Nuxt
⚡ An Electron & Nuxt.js / Vue.js quick start boilerplate with vue-cli scaffolding, electron-builder, unit/e2e testing, vue-devtools
Stars: ✭ 452 (+1638.46%)
Mutual labels: nuxt, boilerplate, vuetify
Vue Express Mongo Boilerplate
⭐ MEVN Full stack JS web app boilerplate with NodeJS, Express, Mongo and VueJS
Stars: ✭ 2,814 (+10723.08%)
Mutual labels: express, fullstack, boilerplate
Graphql Mongodb Server
A GraphQL MongoDB server.
Stars: ✭ 242 (+830.77%)
Mutual labels: express, server, boilerplate
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (+330.77%)
Mutual labels: express, fullstack, boilerplate
Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (+50%)
Mutual labels: nuxt, boilerplate, vuetify
Mern
🌐 MERN stack 2.0 - MongoDB, Express, React/Redux, Node
Stars: ✭ 175 (+573.08%)
Mutual labels: express, fullstack, boilerplate
Nuxt Material Admin
Vue-CLI Boilerplate based on Nuxt and vue-material-admin template.
Stars: ✭ 310 (+1092.31%)
Mutual labels: nuxt, boilerplate, vuetify
Create Graphql
Command-line utility to build production-ready servers with GraphQL.
Stars: ✭ 441 (+1596.15%)
Mutual labels: express, boilerplate
Vue2 blog
使用vue2.x + vue-cli +vue-router+ vuex + axios + mysql + express + pm2 + webpack+nginx构建的具有登录,注册,留言,用户发帖,用户评论等功能的SPA Blog。注意,注意,注意,后端API全部自己手写,很适合刚学习vue以及express的小伙伴学习,喜欢请Star鼓励一下我,谢谢!项目预览:
Stars: ✭ 417 (+1503.85%)
Mutual labels: express, axios
Graphql Ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
Stars: ✭ 398 (+1430.77%)
Mutual labels: express, server
Nestjs Bff
A full-stack TypeScript solution, and starter project. Includes an API, CLI, and example client webapp. Features include production grade logging, authorization, authentication, MongoDB migrations, and end-to-end testing.
Stars: ✭ 450 (+1630.77%)
Mutual labels: fullstack, boilerplate
Fullstack Javascript Architecture
✍️ Opinionated project architecture for Full-Stack JavaScript Applications.
Stars: ✭ 464 (+1684.62%)
Mutual labels: express, fullstack
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (+1376.92%)
Mutual labels: express, boilerplate
Milo
Eclipse Milo™ - an open source implementation of OPC UA (IEC 62541).
Stars: ✭ 587 (+2157.69%)
Mutual labels: stack, server
Awes Io
Awes.io // boilerplate based on Vue, Nuxt, TailwindCSS plus Laravel as a backend. 🤟
Stars: ✭ 599 (+2203.85%)
Mutual labels: nuxt, boilerplate
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (+1300%)
Mutual labels: express, boilerplate
vue-stack
Minimalistic Boilerplate for FullStack Express and Vue.js applications with PWA support.
To understand how this boilerplate works, see the Nuxt.js documentation.
Installation
git clone https://github.com/samuelnovaes/vue-stack.git
cd vue-stack
npm install
npm run dev
Express API (With hot reload in dev mode!)
There is a api
directory with the Express API. Each route is mapped to /api
.
BodyParser
is included by default.
Example
api/index.js
const router = require('express').Router()
// GET /api/greeting
router.get('/greeting', (req, res) => {
console.log('Hello World!')
})
module.exports = router
Index.js file
The index.js file is responsible for starting the Express application. The vueStack(app, port)
function starts the application on a specific port.
const express = require('express')
const vueStack = require('./vue-stack')
const app = express()
vueStack(app, process.env.PORT || 3000)
The vueStack
function returns a Promise.
PWA
By default, Vue Stack generates a PWA application en production mode. You can customize its manifest and icons in nuxt.config.js
Commands
Command | Description |
---|---|
npm run dev | Launch a development server on localhost:3000 with hot-reloading. |
npm run build | Build your application with webpack and minify the JS & CSS (for production). |
npm start | Start the server in production mode (after running nuxt build). |
npm run generate | Build the application and generate every route as a HTML file (used for static hosting). |
Using Docker
# docker build -t [IMAGE_NAME] .
# docker run -d --name [CONTAINER_NAME] -p [PORT]:3000 [IMAGE_NAME]
See more
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].