Nuxt.js + Express.js template

Related tags

nuxt-express
Overview

Nuxt-Express

Базовый шаблон для работы Nuxt в качестве middleware для Express.

Используемые технологии

Nuxt.js, Express.js, Mongoose.js, MongoDB.

Установка

Рекомендуемая среда разработки - VS Code + Prettier. Предварительно установите Node.js 16 (https://nodejs.org/en/) и MongoDB 4.4.5 (https://www.mongodb.com/try/download/community). Затем в консоли пропишите:

npm install

Настройка глобальных переменных

В корневой папке проекта создайте файл ".env". В нём укажите:

  • BASE_URL: домен вашего сайта
  • PORT: порт, на котором будет работать приложение
  • DATABASE: название базы MongoDB, с которой будет работать приложение

Например, для разработки:

BASE_URL=http://localhost:3000
PORT=3000
DATABASE=site

Для production:

BASE_URL=https://site.ru
PORT=3000
DATABASE=site

Запуск в режиме разработки

npm run dev

Запуск в продакшене

npm run build
npm start
Issues
Owner
Aleksandr Dergunov
https://www.youtube.com/channel/UC3Dtx3aaSDbNXJyph3y675Q
Aleksandr Dergunov
A practical starter template for Nuxt, which has Tailwind, FontAwesome, and Google fonts already built-in. Also, some common components are ready for use.

Nuxt Template Nuxt + Tailwind + FontAwesome + Google Fonts This project includes a complete ready-to-go template of Nuxt, including Tailwind CSS, Font

Marc Backes 15 May 20, 2021
Nuxt Supabase Realtime CRUD template with optimistic UI

Nuxt Supabase Realtime CRUD template with optimistic UI Check running example here: https://nuxt-supabase.netlify.app/ Project idea: Full Stack Recipe

J. Gonzalez 9 Apr 10, 2021
An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.

Vue Enterprise Boilerplate This is an ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI. Questio

Ben Hong 7k Jun 5, 2021
An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.

Ben Hong 7k Jun 3, 2021
Light speed setup for MEVN(Mongo Express Vue Node) Apps

Light speed setup for MEVN stack based web-apps Chat: Telegram Donate: PayPal, Open Collective, Patreon A CLI tool for getting started with the MEVN s

madlabsinc 724 Jun 3, 2021
Bleeding edge vue template focused on code quality and developer happiness.

wemake-vue-template Bleeding edge vue template focused on code quality and developer happiness. This project is used to scaffold new Vue project struc

wemake.services 659 Jun 3, 2021
🏕 Opinionated Vite Starter Template

?? Opinionated Vite Starter Template

Anthony Fu 1.4k Jun 13, 2021
A CLI generator for Vue components, views and store modules

vue-generator A CLI generator for Vue components, views and store modules Supports Vue 2.x Install $ npm install -g vue-generator Usage The most basic

Hendrik-Jan de Harder 115 Apr 7, 2021
Awrora Starter - Vue JS Landing Page Template

Landing page template built with one of most popular javascript library Vue.JS, Vuetify (Material Design) and Nuxt.JS with SSR.

Ilham Meidi 14 Jun 9, 2021
A highly opinionated Vue 2.0 template.

VueCharged Template An opinionated feature-first Vue 2.0 template with CLI scaffolding superpowers. Key Features Features First! Each component create

Daniel Escobedo 17 Mar 24, 2021
Vue project template for authoring component and their use case

vue-authoring-template Click one of this badge for more info This template is to help authoring Vue component with it's use case in story-scenario (st

Fahmi Akbar Wildana 14 Jul 30, 2020
a front end template development by vue3.x typescript vite2.x vuex4.x vue-router 4.x mock element-plus

Vue 3 + Typescript + Vite + Vuex + Vue-Router This template should help get you started developing with Vue 3 and Typescript and Vuex and Vu

coderly 21 May 13, 2021
Your next vue.js package!

Quickly scaffold a new Vue 2.x package (with @vue/composition-api) without all the headache of setting it up from scratch Preview Usage npx janak <you

Vinayak Kulkarni 19 May 10, 2021
🛠 A simple template for building and publishing Vue component/library as a opensource.

vue-lib-template ?? A simple template for building and publishing Vue component/library as a opensource, Base on webpack-simple & bili ?? Feature Ligh

Pongsatorn 17 Jan 28, 2021