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: 4 months 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T09:46:33.000Z (over 2 years ago)
- Last Synced: 2025-01-13T21:09:35.537Z (6 months ago)
- Topics: expressjs, javascript, mongodb, nodejs, passportjs, vuejs, vuex
- Language: Vue
- Homepage:
- Size: 2.57 MB
- Stars: 2
- 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'
}