Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.33 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.33 KB

nodejs_authentication

This is a template for NodeJs applications, it contains local login and google, facebook and github OAuth. All the users are being stored in a MongoDB.

Getting Started

make sure you have a MongoDB running on port 27017 and make sure to follow the instructions in Prerequisites.

Inside of the server folder: Install all the necessary node packages

npm install

start server

node app.js

Prerequisites

Before everything works you need to set the enviroment variables definded in the /server/config/customenvironment-variables.json file.

Tests

to run the thests use

npm test

The tests do not include the thirdPartyOAuth yet. I'm looking on possibilites to implement them!

Documentation

You can find a postman collection in the respository or online --> Collection

Built With

Authors

Acknowledgments

Since I was new to the authentication topic I could find most of the Information needed in this Tutorial CodeWorker