Skip to content

Calcagiara/playful-edu-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playful-edu

Config these env variables:

  • AAC_CLIENT_ID : client id
  • AAC_ISSUER_URI : e.g. https://aac.platform.smartcommunitylab.it
  • LOG_LEVEL : default log level, e.g. info
  • LOGS : where store the logs file, e.g. /home/dev/playfuledu/logs
  • SPRING_DATA_MONGODB_URL : e.g. mongodb://localhost:27017/playful-edu
  • X_AUTH_TOKEN : a security API key token; set it as x-auth header key

To add an admin role, in MongoDb create a collection roles and add a document

{
    "preferredUsername" : "test@test.com",
    "role" : "admin"
}

To add a domain role, e.g. for the test domain, in MongoDb create a collection roles and add a document

{
    "preferredUsername" : "test@test.com",
    "role" : "domain",
    "entityId" : "test"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.5%
  • Dockerfile 0.5%