Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 647 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 647 Bytes

django-service-api

linting: pylint

Start

  • Run docker compose up --build

Under the hood:

  1. Create a virtual environment: python3 -m venv env

  2. Activate the virtual environment: source env/bin/activate

  3. Install dependencies: pip install -r requirements.txt

  4. Run: python manage.py runserver

Usage

  1. Go to localhost:8000/graphql

  2. Type your graphQL query:

    query {
        allIngredients {
            id
            name
        }
    }