# How to connect a node.js/GraphQL server to an auraDB

**URL:** <https://community.neo4j.com/t/how-to-connect-a-node-js-graphql-server-to-an-auradb/66303>\
**Category:** Neo4j Graph Platform\
**Tags:** graphql\
**Created:** [February 13, 2024, 6:57pm UTC](https://community.neo4j.com/t/how-to-connect-a-node-js-graphql-server-to-an-auradb/66303 "2024-02-13T18:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy2](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@andy2](https://community.neo4j.com/u/andy2)\
**Post date:** [February 13, 2024, 6:57pm UTC](https://community.neo4j.com/t/how-to-connect-a-node-js-graphql-server-to-an-auradb/66303/1 "2024-02-13T18:57:51Z")

</div>

I am a AI/ML programming in python (6 yrs), and started writing webapps in nuxt,vue,node (2yrs). I am new to Neo4j.  
I am trying to do a test setup of node.js/apollo/graphQL and then connect it to an AuraDB instance. This seems elementary, but I can't find anything in documentation/forum/videos that deals with the set up of .env file and basic steps to connect to a remote DB on Aura. I have given it a few hours of hunting... If someone has a link, or 5 lines of code that will allow me to clear this hurdle, I will owe you one.

---

<div class="post-metadata">

**Author:** ![jon.giffard](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jon.giffard/32/30835_2.png) [@jon.giffard](https://community.neo4j.com/u/jon.giffard)\
**Post date:** [February 13, 2024, 10:29pm UTC](https://community.neo4j.com/t/how-to-connect-a-node-js-graphql-server-to-an-auradb/66303/2 "2024-02-13T22:29:00Z")

</div>

I've got a very basic example of doing this in my github repo - [GitHub - LackOfMorals/GraphQL\_server\_with\_neo4j\_and\_Apollo](https://github.com/LackOfMorals/GraphQL_server_with_neo4j_and_Apollo)

---

<div class="post-metadata">

**Author:** ![andy2](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@andy2](https://community.neo4j.com/u/andy2)\
**Post date:** [February 14, 2024, 2:01pm UTC](https://community.neo4j.com/t/how-to-connect-a-node-js-graphql-server-to-an-auradb/66303/3 "2024-02-14T14:01:07Z")

</div>

thanks. I will chew through it.
