Skip to content

scbowler/node_auth_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Auth Server

A simple auth server that uses NodeJs and MongoDB. The server utilizes JSON Web Tokens (JWT) for user authentication. Available actions are: sign-in, sign-out, and create user.

Installation

NOTE: You must have a MongoDB setup and running on your system for this to work. Visit HERE for info on setting up a MongoDB.

  1. Clone or Fork then Clone this repo
    • git clone https://github.com/scbowler/node_auth_server.git
  2. Change to the newly created directory
    • cd node_auth_server
  3. Install packages
    • npm install
  4. Rename the config.rename.js file to config.js
    • mv config.rename.js config.js
  5. Start MongoDB (If not already running)
    • mongod
  6. Start server
    • npm run dev

About

NodeJS server for basic user authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published