This project allows to create three types of cards on a Trello Board, and for that you will need:
- TRELLO API KEY
- TRELLO TOKEN
- TRELLO BOARD ID
If you do not know how to get it, please go to this link
git clone git@github.com:bjvta/task-management-api.git && cd task-management-api
pip3 install virtualenv
virtualenv env
source env/bin/activate
pip3 install -r requirements.txt
cp .env.example .env
make runserver
# You should get this
flask --app src.main --debug run
* Serving Flask app 'src.main'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 102-600-632
- API status
GET: /
This endpoint return a { 'success' : true }
- Load Categories
POST: /load_categorires
This endpoint will load missing labels in trello, like: issue, bug and task
- Load List
POST: /load_lists
This endpoint will load missing list like `TODO`
- Create Card
POST: /
This endpoint will create a card and the body should be
For an issue:
- type : string : required
- title : string
- description : string
For a bug:
- type : string : required
- description : string
For a task:
- type : string : required
- title : string
- category: string
You can load the postman collection from the file postman_collection.json