Code Monkey home page Code Monkey logo

auth-portal's Introduction

auth-portal

Central Authentication plus Authorization Portal for PEC University of Technology.

The main aim of this project is automation and digitalization of day-to-day work of college, which are at present done manually. We aim to build a central authorization service which can be scaled and will help in development of various other modules to be made under PEC Automation and Digitalization initiative.

Authorization portal is based on OAuth 2.0 framework (Not all features are supported till now).

Building

To build and run this project, you will need following packages

  1. Java 8
  2. gradle
  3. Node.js (v4.6.0 or higher)

Building this project,

  1. First create some environment variables as described below,
$ export ADMIN_ACCOUNT_ID=YOUR_ACCOUNT_ID
$ export ADMIN_PASSWORD=YOUR_SECRET_PASSWORD
$ export ADMIN_EMAIL=YOUR_EMAIL_ID
$ export THIS_CLIENT_ID=example
$ export THIS_CLIENT_SECRET=YOUR_SECRET

(For debugging purposes, you can set these values to anything)

  1. Install npm dependencies,
$ npm install
# npm install -g webpack
  1. Run webpack to render React Components,
$ webpack --watch --progress
  1. In another terminal, run following command to start server,
$ ./gradlew bootRun
  1. Now open the browser and hit http://localhost:8080/home, Enter your username and password as filled above.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.