Git Product home page Git Product logo

scommons-admin's Introduction

CI Coverage Status Docker image Scala.js

scommons-admin

Easy applications, users and permissions management

How to Setup DB

To setup the Postgres DB, please, follow the instructions here

How to Run App using pre-built Docker image

docker run -d --name scommons-admin -p 9000:9000 \
  -e "POSTGRES_PASSWORD=mysecretpassword" \
  -e "ADMIN_DB_HOST=172.17.0.1" \
  -e "ADMIN_DB_PORT=5432" \
  -e "ADMIN_DB_USER=admin" \
  -e "ADMIN_DB_PASSWORD=admin" \
  -e "ADMIN_DB_ADMIN_USER=admin_admin" \
  -e "ADMIN_DB_ADMIN_PASSWORD=superadmin" \
  -e "JAVA_OPTS=-Dlogger.resource=/logback.prod.xml -Xmx448M -XX:MaxMetaspaceSize=128m -XX:+PrintCommandLineFlags" \
  scommons/admin

How to Build and Run locally

To build and run ALL tests use the following command:

sbt clean "project scommons-admin-server" test it:test && sbt ";project scommons-admin-server ;set Test / test := {} ;project scommons-admin" test

How to Run Server locally in DEV mode

Before you can run server, please, make sure you have PostgreSQL DB up and running.

To start the application server locally in development mode with refresh workflow:

sbt clean ';project scommons-admin-server ;set Assets / WebKeys.exportedMappings := Seq()' run

Admin Client UI

To see the Admin Client UI in browser:

http://localhost:9000/scommons-admin/admin.html

REST API Documentation

To see the Swagger REST API documentation page and try endpoints in browser:

http://localhost:9000/scommons-admin/swagger.html

Documentation

You can find more documentation here

Screenshots

Assign users to applications

Screenshot

Assign roles to users

Screenshot

Assign permissions to roles

Screenshot

scommons-admin's People

Contributors

viktor-podzigun avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

capesepias

scommons-admin's Issues

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.