More Premium Hugo Themes Premium Nuxt Themes

Nodejs Vuejs Mysql Boilerplate

Node.js (REST API) + Vue.js/Nuxt.js (Frontend/Backend) + MySQL Boilerplate

Nodejs Vuejs Mysql Boilerplate

Node.js (REST API) + Vue.js/Nuxt.js (Frontend/Backend) + MySQL Boilerplate

Author Avatar Theme by chrisleekr
Github Stars Github Stars: 188
Last Commit Last Commit: May 12, 2022 -
First Commit Created: Apr 29, 2023 -
Nodejs Vuejs Mysql Boilerplate screenshot

Overview

The Node.js + Vue.js/Nuxt.js + MySQL boilerplate project is a template that includes a Node.js REST API and frontend/backend developed using Vue.js and Nuxt.js with BootstrapVue. It provides a starting point for building web applications with these technologies.

Features

  • Node.js REST API: Includes various libraries and frameworks such as Express, Webpack, Express Validator, JWT, Bunyan, Promise MySQL, Node Mailer, Jest, Supertest, Nodemon, and DBmigrate.
  • Frontend - Nuxt.js: Utilizes Nuxt.js, Vue.js, Vuex, Vuelidate, BootstrapVue, Jest for frontend development.
  • Frontend - Vue.js: Utilizes Vue.js, Vuex, Vue Router, Vue Draggable, Vuelidate, BootstrapVue, Jest, and Cypress for frontend development.
  • Backend - Vue.js: Utilizes Vue.js, Vuex, Vue Router, Vuelidate, BootstrapVue, Jest, and Cypress for backend development.

Installation

To start the project in your local environment, follow these steps:

  1. Make sure you have Docker installed.
  2. Clone the project repository.
  3. Open a terminal and navigate to the project directory.
  4. Run the following command to start the Docker containers:
docker-compose up
  1. Once the containers are up, you can access the services using the following URLs:
  1. The database initially has three users that can be used to login to the frontend/backend:
  1. To enable live changes for the API, uncomment the volumes section in the docker-compose.yml file.

  2. If you want to have Hot Reload feature, launch the Frontend separately using the following command:

npm run serve
  1. Access Frontend - Nuxt.js at http://localhost:3000, Frontend - Vue.js at http://localhost:8080, and Backend with the appropriate URLs.

Summary

The Node.js + Vue.js/Nuxt.js + MySQL boilerplate project provides a convenient starting point for building web applications using Node.js for the backend and Vue.js/Nuxt.js for the frontend. It includes various libraries and frameworks to aid in development and offers a pre-configured environment using Docker. The project also provides example users for testing and customization options to enable live changes and Hot Reload feature.