Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahdyhamad/django-delivery
https://github.com/mahdyhamad/django-delivery
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mahdyhamad/django-delivery
- Owner: mahdyhamad
- Created: 2020-09-13T18:40:13.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T00:01:05.000Z (about 4 years ago)
- Last Synced: 2024-10-13T10:27:35.414Z (about 1 month ago)
- Language: Python
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-delivery :package:
django-delivery is a backend service developed in Python using Django Framework. This project uses Graphql as the API to communicate with the frontend and
other client-side-apps. It uses Graphene-Django Library to build the Graphql API.
For authentication, JWT authentication is used.## 1-Setup :wrench:
Create a virtual environement inside the project directory:
```bash
$ virtualenv venv# Activate the virtual environment
$ source venv/bin/activate # for Linux
$ venv\Scripts\activate # for Windows
```
## Install requirements
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the requirements of this project
```bash
$ pip install -r requirements.txt
```## 2-Run Server
```bash
$ python manage.py runserver 8000
```
Now open your browser on ```localhost:8000/graphql```, which is the only API endpoint.
### Try:
```
{
hello
}
```