This repo contains the starting point to create a REST API based on Django REST Framework.
Requirements
- You need to have Docker and Docker Compose installed
Run in root folder,
cp .env.example .env
docker-compose build && docker-compose up -d
Add vhost to your /etc/hosts file,
127.0.0.1 www.socialrest.local
Check http://www.socialrest.local/admin on your browser,
login as admin/admin
Check http://www.socialrest.local/api/blogs on postman,
authenticate as admin/admin
To stop it, go to root folder and type,
docker-compose down