Skip to content

Node.js authentication server boilerplate

Notifications You must be signed in to change notification settings

guylepage3/simple-auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Authentication Boilerplate

A server side Node.js authentication boilerplate
website

Contribute · Explore


Simple Auth Server

Simple Auth Server is a quick Node.js authentication boilerplate intended to get you up and running with a simple npm install command.

Note: This boilerplate is based from Stephen Grider's Advanced React and Redux course.

Getting started

Get started by cloning the repository to your local machine

$ git clone git@github.com:guylepage3/simple-auth-server.git

Start MongoDB server

$ mongod

Start the backend and client side server as well as connect to the MongoDB database via Mongoose

$ npm run dev

You should see the following server running

Server running on localhost:5000......
MongoDB Connected.....

Mongodb Installation & Setup

Get system username by running

$ whoami

Set database and directory permissions for you by running the command

$ sudo chown -Rv <username> /data/db
# Enter your password

Or for global access, run

$ sudo chown -r /data/db
# Enter your password

About

Node.js authentication server boilerplate

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published