Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 :)
- Host: GitHub
- URL: https://github.com/oelmounkad/vuejs-node-express-authentication---deployed
- Owner: Oelmounkad
- Created: 2020-07-06T01:48:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T10:44:08.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T05:54:23.151Z (almost 2 years ago)
- Topics: expressjs, javascript, mongodb, nodejs, passportjs, vuejs, vuex
- Language: Vue
- Homepage:
- Size: 2.57 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: Readme.md
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'
}