diff --git a/.env.template b/.env.template new file mode 100644 index 000000000..4d849a121 --- /dev/null +++ b/.env.template @@ -0,0 +1,6 @@ +NEO4J_URI=bolt://localhost:7687 +NEO4J_USER=neo4j +NEO4J_PASSWORD=letmein +GRAPHQL_LISTEN_PORT=4000 +GRAPHQL_URI=http://localhost:4000 +MOCK=false diff --git a/.gitignore b/.gitignore index c8fcd1649..ed579a2c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ +.env .vscode diff --git a/README.md b/README.md index b75488607..420409a16 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ yarn install npm install ``` +Copy: +``` +cp .env.template .env +``` +Configure the file `.env` according to your needs and your local setup. + Start the GraphQL service: ```bash