Checkout and run the backend server
(Needs docker installed)
cd ..
git clone https://github.com/uprtcl/js-uprtcl-server.git
cd js-uprtcl-server
run dgraph
sudo docker run --rm -it -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph dgraph/standalone:v20.03.3
add a .env file like this one and on another terminal run the server in debug mode
npm i
npm run debug
Then, to run this app first create env file:
cd ../linked-thoughts
cd src/services
touch env.ts
And fill it with:
export const env = {
// host: 'https://api.intercreativity.io/uprtcl/1',
host: 'http://localhost:3100/uprtcl/1',
};
Then install dependencies and run in dev mode.
npm i
npm run dev
You can now gead to http://localhost:8002!
-> doc/docID?forkID=forkId
Readonly loggedIn