Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.11 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.11 KB

Django REST Framework example

This repo contains the starting point to create a REST API based on Django REST Framework.

Check the full explanation video (GR)

REST API σε Python με Django #65, live

Installation

Requirements

Run

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

By SocialNerds