- Install
yo
globally:npm i -g yo
. - In the root of the project run:
yarn
. - Link the generator module, in the root of the project run:
npm link
. - To clone the project run:
yo dapp
. You will be prompted to choose the name under which the project will be created. This will clone the project and install the dependencies. - When it finishes your project will be in the newlly created folder with the name you selected on the previous step.
- To initialize the
api
:- A
neo4j
instance must be running onlocalhost:7687
. The defaultneo4j
url:port can be changed insrc/js/api/.env
- Go to
src/js/api
and run:yarn start:dev
- The
api
is running athttps://localhost/8443
- The default
api
url:port can be changed insrc/js/api/.env
- The default
- A
- To initialize the
web-app
:- The
api
must already be running. - Go to
src/js/web-app
and run:yarn start:dev
- The
web-app
is running athttps://localhost/3002
- The default
web-app
url:port can be changed insrc/js/web-app/.env
- The default
- The