howtographql/graphene

Name: graphene

Owner: How to GraphQL

Description: null

Created: 2017-06-21 10:13:13.0

Updated: 2017-12-19 20:47:06.0

Pushed: 2017-08-03 13:18:57.0

Homepage: null

Size: 16

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

How to Graphene - Hacker News

This repo aims to showcase how to create a simple Hacker News clone with Django and GraphQL. Demo

Install

First, is recommended to have a virtual enviroment for running our project:

stalling virtualenv-burrito https://github.com/brainsik/virtualenv-burrito
 -sL https://raw.githubusercontent.com/brainsik/virtualenv-burrito/master/virtualenv-burrito.sh | $SHELL

ke a new python enviroment
rtualenv howtographene

Then, install the dependencies and run the app:

install -r requirements.txt
install -r requirements-test.txt
is will create the DB
on hackernews/manage.py migrate
is will run the dev server
on hackernews/manage.py runserver

Running Tests

For running the tests you can execute:

est hackernews

Deploying on Heroku

To get your own Hackernews running on Heroku, click the button below:

Deploy

Fill out the form, and you should be cooking with gas in a few seconds.

Commands executed

This are the commands executed for creating the skeleton of this project

rtualenv howtowgraphene

install Django
go-admin startproject hackernews

d basic app
on manage.py startapp links
on manage.py startapp users

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.