pranshuchittora / js-uprtcl-server

Uprtcl JS web-server service provider

Home Page:http://uprtcl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webserver Service Provider for js-uprtcl

Local Development

  • Run dgraph using

    sudo docker run --rm -it -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph dgraph/standalone:v20.03.3
    
  • Create a .env file in the root folder with the content:

    JWT_SECRET=123456
    PROTOCOL=http
    HOST=localhost:3100
    DGRAPH_HOST=localhost
    DGRAPH_PORT=9080
    AUTH0_DOMAIN=linked-thoughts-dev.eu.auth0.com
    PUBKEY_FILE=auth0.pem
    
    

    Install packages

    npm i
    

    Test

    npm run test
    
  • Run in debug mode.

    npm run debug
    

About

Uprtcl JS web-server service provider

http://uprtcl.io

License:MIT License


Languages

Language:TypeScript 92.4%Language:Shell 7.0%Language:JavaScript 0.6%