Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uprtcl/linked-thoughts


https://github.com/uprtcl/linked-thoughts

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Project under development

## Dev

Checkout and run the [backend server](https://github.com/uprtcl/js-uprtcl-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](https://gist.github.com/pepoospina/6993d1f03773b3b333008f66838ccae7) 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