You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Özcan Oğuz 5207e712bf
Fix typo at
3 years ago
internal_lib Fix typo at 3 years ago
models password fix 3 years ago
mongo_data_dir add gitignore mongo_data_dir 3 years ago
restapi@040adf8aed user creation fix 3 years ago
.env.example Add configuration via .env file 3 years ago
.gitignore Add .env to .gitignore 3 years ago
.gitmodules restapi submodule update 3 years ago
Dockerfile fix custom encrypted field set and get attrs 3 years ago
LICENSE Add AGPL v3 license 3 years ago update instalation steps and add basic usage of this project 3 years ago inital 3 years ago
docker-compose-dev.yaml add docker-compose for developers 3 years ago
docker-compose.yaml add docker-compose for developers 3 years ago Fix typo at 3 years ago
requirements.txt Add configuration via .env file 3 years ago


Association software by Özgür Yazılım Derneği

Dev install

# clone the repository and get submodules
git clone --recurse-submodules Adunatio

# Go to project directory
cd  Adunatio

# Create a encrytion key
ssh-keygen -t rsa -b 4096 -f ./privkey.pem

# Run all system with docker
docker-compose -f docker-compose-dev.yaml up --build -d

You can access Adunatio from http://localhost:5000/admin

How to use

  • First, You must create a union from here http://localhost:5000/admin/union/

  • Check your union password in logs. With this command, you should see this kind of line in logs

docker-compose -f docker-compose-dev.yaml logs web

[2021-02-04 20:39:16,685] INFO in Union: New union password : <PASSWORD>
  • login with your union and get your Berear token. Your username is combination of your Legal Registration Number and @root
# Example Request with curl 
curl --request POST \
  --url http://localhost:5000/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
        "username":"<Legal Registration Number>@root",

# Response
  "access_token": "<Your Access Token>", 
  "status": true
  • Test avaliable endpoints with your Berear token. Note that, header title must be Adunation_Session_Token
export ACCESS="<Your Access Token>"
curl -H "Adunation_Session_Token: Bearer $ACCESS" http://localhost:5000/api/user/
curl -H "Adunation_Session_Token: Bearer $ACCESS" http://localhost:5000/api/union/


Copyright (C) 2021 Özgür Yazılım Derneği

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.