Django Reference
This repository holds a reference for the development of a REST API with graphql support based on Django framework
Quickstart
- Install Docker Engine & Compose
For linux installation adjust docker permissions guide
- Clone this repository
- Set execute permissions to script (linux)
chmod +x bin/setup.sh
- Execute setup script
bin/setup.sh
(For windowsbin/setup.bat
) - Run server with
bin/start.sh
(For windowsbin/start.bat
)- To show server logs execute
bin/logs.sh
(For windowsbin/logs.bat
) - To stop server execute
bin/stop.sh
(For windowsbin/stop.bat
)
- To show server logs execute
Examples
- API browser: http://localhost:8008/api
- Graphql browser: http://localhost:8008/graphql
- Admin pane: http://localhost:8008/admin
user:admin@email.com, pass: 123
Documentation
- All documentation is in the
docs
directory