Thanks to this project, your services have the ability to exchange data with yatube
- Python 3.9.10
- Django 2.2.16
- Djangorestframework 3.12.4
- Pytest-pythonpath 0.7.3
- Djangorestframework-simplejwt 4.7.2
- Pillow 8.3.1
- PyJWT 2.1.0
- Requests 2.26.0
- Сlone the repository
git clone https://github.com/MrKalister/api_final_yatube.git
or use SSH-key:
git clone [email protected]:MrKalister/yatube_final.git
- Install and activate the virtual environment
python -m venv venv
source venv/Scripts/activate
- Install dependencies from the file requirements.txt
pip install -r requirements.txt
- Make migrate:
python3 manage.py migrate
- Start project in dev-mode:
python manage.py runserver
Get a list of all publications:
http://127.0.0.1:8000/api/v1/posts/
Novikov Maxim