Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oelmounkad/vuejs-node-express-authentication---deployed

An authentication application built with Passport.js and the MEVN stack (MongoDB - ExpressJs - VueJs - NodeJs) that you can use as a boiler plate for your future projects :)
https://github.com/oelmounkad/vuejs-node-express-authentication---deployed

expressjs javascript mongodb nodejs passportjs vuejs vuex

Last synced: about 1 month ago
JSON representation

An authentication application built with Passport.js and the MEVN stack (MongoDB - ExpressJs - VueJs - NodeJs) that you can use as a boiler plate for your future projects :)

Awesome Lists containing this project

README

        

# VueJs Authentication

**vuejs-authentication** is an application that you can use as a boiler plate for your future application using the MEVN stack (MongoDB - ExpressJs - VueJs - NodeJs) and Passport.js (using the local Strategy in this project)the authentication middleware for Node.js.

# How to serve the app:
## The ExpressJs backend api:
To install dependencies:
```bash
npm install
```
To spin up the backend server (on port 5000):
```bash
npm run dev
```

## The VueJS Application:
To install dependencies:
```bash
npm install
```
To spin up the backend server (on port 8080):
```bash
npm run serve
```
### The application now is available on (http://localhost:8080)

## Add your MongoDB configuration
##### Go to config/keys.js and add your MongoDB URI :

```javascript
module.exports = {
MongoURI : 'mongodb+srv://:@/?retryWrites=true&w=majority'
}