Skip to content

Sample token based (JWT) authentication application with hapi.js and mongoose

Notifications You must be signed in to change notification settings

Cron-J/JWT-Hapi-Mongoose-Mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hapi-Mongoose-JWT( Json Web Token) Example

The purpose of this app is to show a new way to work with JWT, Hapi.js, Mongodb, Mongoose.

Install an app

Run the following command in root directory of an app in command prompt.

Install node packages

server/ node install

Install bower components

client/src/ bower install

Run an app

Run Server

Run the following command in root directory of an app in command prompt.

server/ node server.js

You can see the port number in command prompt after sucessfull run

You can change the settings in server/config/config.js file

Change email id in server/config/config.js which will be used to send account credential when new account is created.

About

Sample token based (JWT) authentication application with hapi.js and mongoose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published