Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

dgraph-io/graphoverflow

 
 

Repository files navigation

Graphoverflow

A blazingly fast Stack Overflow clone running the real Stack Exchange dataset.

Live

Running locally

Node

  1. Run npm install in the root directory
  2. Run npm install in the /client directory
  3. In the root directory, run npm run dev

Dgraph

This app is currently compatible with latest Dgraph (v1.0.11 as of this)

  1. Run Docker (Recommended)

    docker-compose up --force-recreate

    PS. You can also run this project with Dgraph binaries instead of Docker.

  2. Download any number of data dumps from https://archive.org/details/stackexchange and save in directory data/.

    For example lifehacks.stackexchange.com.7z:

    # using wget
    wget -P data/ https://archive.org/download/stackexchange/lifehacks.stackexchange.com.7z
    
    # using curl
    (mkdir data ; cd data && curl -L -O https://archive.org/download/stackexchange/lifehacks.stackexchange.com.7z)
  3. Run the setup script (it expects all data in data/ dir at base):

    go run setup.go

Stack

  • Dgraph
  • Go
  • React
  • node.js

Attribution

Using Stack Exchange data dump under Attribution-Share Alike 3.0

License

MIT

About

Run the entire StackOverflow on Dgraph. Work in progress.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6