A blazingly fast Stack Overflow clone running the real Stack Exchange dataset.
- Run
npm install
in the root directory - Run
npm install
in the/client
directory - In the root directory, run
npm run dev
This app is currently compatible with latest Dgraph (v1.0.11 as of this)
-
Run Docker (Recommended)
docker-compose up --force-recreate
PS. You can also run this project with Dgraph binaries instead of Docker.
-
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)
-
Run the setup script (it expects all data in
data/
dir at base):go run setup.go
- Dgraph
- Go
- React
- node.js
Using Stack Exchange data dump under Attribution-Share Alike 3.0
MIT