This is a oAuth2 server implementation in nodejs using Sequalise ORM for postgres database.
Install Postgres and create database
create database oauthdb;
CREATE USER oauth WITH PASSWORD '12345678oauth' ;
grant all privileges on database oauthdb to oauth ;
Install npm packages
npm install
npm start
Server will be available on port http://localhost:3000. The web framework is provided via express package.
Note: There is a file called ".env". You can modify that file according to the need.