Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aturingmachine/mevn-stack
A Quickstart for building an Express API with a VueJS Admin Portal
https://github.com/aturingmachine/mevn-stack
boilerplate express expressjs full-stack javascript mongo mongodb node nodejs quickstart vue vuejs
Last synced: 5 days ago
JSON representation
A Quickstart for building an Express API with a VueJS Admin Portal
- Host: GitHub
- URL: https://github.com/aturingmachine/mevn-stack
- Owner: aturingmachine
- Created: 2017-10-25T00:19:09.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2021-09-06T15:53:08.000Z (over 3 years ago)
- Last Synced: 2025-01-09T17:39:47.952Z (13 days ago)
- Topics: boilerplate, express, expressjs, full-stack, javascript, mongo, mongodb, node, nodejs, quickstart, vue, vuejs
- Language: Vue
- Size: 1.53 MB
- Stars: 203
- Watchers: 11
- Forks: 49
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# MEVN Stack
A Quickstart template for building a fullstack using:
- [Node](https://nodejs.org/)
- [Express](http://expressjs.com/)
- [MongoDB](https://www.mongodb.com/)
- [VueJS](https://vuejs.org/)
- [Vuetify](https://vuetifyjs.com/) as a Vue Component FrameworkThe application consists of an Express REST API that is consumed by a VueJS Single Page Application.
## Installation
This repository can be used via cloning the code base or copying it as a GitHub template. The process is identical excluding the first step:s
```sh
# clone this repository
git clone [email protected]:aturingmachine/mevn-stack.git [directory-name]# or click "use this template" and clone your new repo
git clone# run the setup script
npm run setup# if the setup script fails:
# install dependencies in both sub-projects
npm ci
npm ci --prefix client/# copy env file
cp .env.example .env
```### Other Dependencies
You will also need:
- A MongoDB instance to connect to
- The [Vue CLI](https://cli.vuejs.org/) installed## Development
This repo comes with a helper script to run both the Vue development server and Express application in the same terminal:
```sh
npm run dev
```Either application can also be run individually:
```sh
# Start the Express application with reloading via nodemon
npm run dev:server# Start the Vue application with HMR and Reloading
npm run dev:client
```