# mevn-github-auth

> A MEVN Biolerplate project (Mongo, Express, Vue, Node)

Latest version **0.0.3** (published 2017-05-28) · 0 weekly downloads

## Install

```sh
npm install mevn-github-auth
pnpm add mevn-github-auth
yarn add mevn-github-auth
bun add mevn-github-auth
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-05-28 |
| First published | 2017-05-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Known vulnerabilities | 0 (+34 in 4 direct dependencies) |
| Install scripts | no |
| Author | Anton de Regt |
| Maintainers | antonderegt |

## Links

- npm: https://www.npmjs.com/package/mevn-github-auth
- npm.io page: https://npm.io/package/mevn-github-auth

## Dependencies (13)

- [vue](https://npm.io/package/vue.md) ^2.2.1
- [vuex](https://npm.io/package/vuex.md) ^2.3.0
- [axios](https://npm.io/package/axios.md) ^0.16.1
- [dotenv](https://npm.io/package/dotenv.md) ^4.0.0
- [express](https://npm.io/package/express.md) ^4.15.2
- [nodemon](https://npm.io/package/nodemon.md) ^1.11.0
- [mongoose](https://npm.io/package/mongoose.md) ^4.9.5
- [passport](https://npm.io/package/passport.md) ^0.3.2
- [vue-router](https://npm.io/package/vue-router.md) ^2.4.0
- [body-parser](https://npm.io/package/body-parser.md) ^1.17.1
- [express-session](https://npm.io/package/express-session.md) ^1.15.2
- [passport-github](https://npm.io/package/passport-github.md) ^1.1.0
- [connect-mongostore](https://npm.io/package/connect-mongostore.md) ^0.1.4

## Recent versions

- 0.0.3 (latest) — 2017-05-28

## README

# MEVN Boilerplate (with GitHub authentication)

MEVN means it contains MongoDB, ExpressJS, VueJS and NodeJS
it is based on vue cli (webpack-simple template).
Mongoose runs on top of MongoDB. [How to install MongoDB on Windows](https://www.youtube.com/watch?v=1uFY60CESlM&t=605s)

It uses PassportJS to authenticate a user with GitHub.
[MEVN Boilerplate without PassportJS](https://github.com/antonderegt/mevn-boilerplate)

## How to start

Add a .env file with your PORT, MONGO_URI, [GITHUB_ID, GITHUB_SECRET and APP_URL](https://github.com/jaredhanson/passport-github) like this:

``` bash
PORT=3000
MONGO_URI=mongodb://127.0.0.1:27017/voting-app
GITHUB_ID=233245n234566kjh243f
GITHUB_SECRET=k2hj432kjgjkh2g34kj2g4jkh23g4jk2342jhg34
APP_URL=http://127.0.0.1:3000/
```

After that execute the following:

``` bash
# clone the repo
git clone https://github.com/antonderegt/mevn-github-auth.git

# install dependencies
npm install

# build and watch for changes
npm run serve

# run MongoDB
mongod

# run in a seperate terminal to serve at localhost:3000
nodemon server.js

# build for production with minification
npm run build
```

---
_Source: https://npm.io/package/mevn-github-auth · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
