- Django v 2.2.2
- Python v 3.6
- Django Rest Framework v 3.9.4
- Python-decouple v 3.1
Clone this repository with command: $git clone https://github.com/akyl0221/freelance.git
cd freelance
create file .env and add: SECRET_KEY= YourKey
docker-compose up
Sign up: 127.0.0.1:8000/api/v1/sign_up
Login: 127.0.0.1:8000/api/v1/login
Create task: 127.0.0.1:8000/api/v1/task
List tasks: 127.0.0.1:8000/api/v1/tasks
Replenish or Withdrawal : 127.0.0.1:8000/api/v1/update_balance
Balance history: 127.0.0.1:8000/api/v1/balance_history
Accept task: 127.0.0.1:8000/api/v1/tasks//accept
Finish task: 127.0.0.1:8000/api/v1/tasks//done
Task detail: 127.0.0.1:8000/api/v1/tasks/