/wiki-django-vue

Simple CRUD app: frontend (Vue.js) / backend (Django + DRF)

Primary LanguagePython

WikiPages

Development

  • edit .env
  • run docker-compose up --build
  • open 0.0.0.0:8000 (important: for Cross-Origin Resource Sharing (CORS) )

GraphQL example

http://0.0.0.0:8000/api-graphql/

query ($title: String)
{
  wikipage(title: $title) {
    title
    author {
      email
    }
  }
  user(id: 4) {
    email
  }
  allUsers {
    id
    wikipages {
      title
    }
  }
  allWikipages {
    id
    }
}