Skip to content

lako90/node-auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General Authorization Server

This is the authorization server using JWT.

Installation

In this guide has been used Yarn as package manager, but if you want you can use NPM instead.

Install dependencies

yarn

Configuration

To configure this project has been used node-config package, there is a config directory to handle the environments; if you need you own configuration please create a local.json file with yours parameters within.

vi /config/local.json

The environment is set according NODE_ENV variable.

export NODE_ENV=production

Development

If you need to seed the database use

yarn seed

Watch out!! The script will drop all your data!

To run the server in debug mode please use the related script.

yarn dev

In this way the script is listening to the code and restart itself automatically. Furthermore on port 9229 you can attach a debug console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published