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 c2658d7d1..713d5006d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules/ +.env diff --git a/README.md b/README.md index f1805a90c..670fefcae 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