Skip to content

fabioguerrazzi/Oauth2server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAUTH2 Server

Authentication and Resource Server using SQL Server Database by Fabio Guerrazzi

Prerequisites

Node.js and npm are essential.

Install npm packages

See npm and nvm version notes above

Install the npm packages described in the package.json and verify that it works:

Attention Windows Developers: You must run all of these commands in administrator mode.

npm install

If the typings folder doesn't show up after npm install please install them manually with:

npm run typings -- install`

Install NSP (Node Security Program) This runs every-time you run it locally to check the security vulnerabilities of the installed packages.

npm install -g nsp

Install Grunt Project builder. Compiles and minifies all files to make sure that the build is nice and small.

npm install grunt-cli -g

npm scripts

We've captured many of the most useful commands in npm scripts defined in the package.json:

  • npm start - runs the compiler and a server at the same time, both in "watch mode".
  • npm build - runs grunt and generates a project build in '/build'.

SQL Server

  • Create Oauth2DB catalong in you SQL Server instance

  • Open \doc\Oauth2DB.sql in your MSSQL, execute it

  • npm start - start the server on 3001 port

watch \doc\requests.txt in order to make the correct api call in PostMan for authentication test

About

Guerrazzi Oauth2 Server Users authenticaition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published