https://github.com/jacobgrisham/authentication
Creating authentication in Node.js using passport.js and MongoDB
https://github.com/jacobgrisham/authentication
authentication back-end-web-development expressjs javascript mongodb mongoose nodejs passportjs
Last synced: 3 months ago
JSON representation
Creating authentication in Node.js using passport.js and MongoDB
- Host: GitHub
- URL: https://github.com/jacobgrisham/authentication
- Owner: JacobGrisham
- Created: 2020-09-16T01:06:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T01:06:37.000Z (almost 6 years ago)
- Last Synced: 2025-10-19T11:16:35.150Z (8 months ago)
- Topics: authentication, back-end-web-development, expressjs, javascript, mongodb, mongoose, nodejs, passportjs
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authentication
### Coding challenge from the Udemy Course [the Web Developer Bootcamp](https://www.udemy.com/course/the-web-developer-bootcamp/)
I wrote the code in app.js and in the views directory. The other files were provided by the instructor.
## 💡Lessons Learned
- MongoDB
- Mongoose
- bodyparser
- Express.js sessions
- Authentication with passport.js
## 🚀 Getting Started
To run this project locally:
- In your terminal, navigate to the root folder and run the following commands
```
$ npm install
$ npm start
```
- Open another terminal window nd run the following command
```
$ ./mongod
```
- Open another terminal window nd run the following command
```
$ mongoose
```
- Copy and paste the following into your browser of choice: localhost:3000
## 🕹 How to Use
- Sign up, sign in, logout
## 📣 Reference
- Section 34: Authentication of the Udemy Course [the Web Developer Bootcamp](https://www.udemy.com/course/the-web-developer-bootcamp/)