Skip to content

kni-kernel/kernel-oauth2-server

Repository files navigation

kernel-oauth2-server

Implementation of OAuth2 server for internal students' systems next to Physics and Applied Computer Science deputy of AGH Univeristy of Science and Technology with Node.JS, TypeScript and PostgreSQL.

Requirements

Following stuff must be installed to make app working properly:

You can also run server by Docker. More info here.

Development

While developing be sure that you use Prettier regularly and check code style with ESLint. Check "npm Tasks" table below for details how to run these tools.

In order to run first time copy the config/development.js file into config/local-development.js and fill it accordingly.

npm Tasks

Task Description
start Alias of serve - you can simply use npm start
build Launches commands build-ts and eslint
serve node dist/appp.js
watch Watches via nodemon dist/app.js
test Runs all tests in test directory
reformat Runs prettier and eslint
watch-test Runs test with watcher
build-ts Builds JavaScript from TypeScript sources
watch-ts Runs build-ts with watcher
eslint Runs TS compiler and ESLint to check styles
debug Runs build and watch-debug - development env task
serve-debug Runs serve via nodemon with debug flags
watch-debug Concurrently runs watch-ts and serve-debug

About

OAUTH2 Server dedicated to the deputy students

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published