Using express js with neo4j through the driver
![taghrid_mahdy taghrid_mahdy](https://community.neo4j.com/legacyfs/online/2X/7/7e7803b26e001728ad438ec727612c37170fc845.png)
12-29-2019 04:48 AM
i found a lot of tutorial online but i am still confused about several issues like:
- when to session.run and when to use session.write transactions
- how to export the object of session to be used in main and in the different routes
Labels:
- Labels:
-
Javascript
1 REPLY 1
![MuddyBootsCode MuddyBootsCode](https://community.neo4j.com/legacyfs/online/2X/7/7b1e57bcf619a1531fb53f6cc4e0cb83c5c27f06.jpeg)
12-30-2019 05:49 AM
It would be good to see your code so that we can get an idea of what exactly you're doing. In case you haven't had a chance to check them out here are the docs https://github.com/neo4j/neo4j-javascript-driver#readme there are some really good examples there of various functions.
![](/skins/images/35448E1D2B14DA61375C1E03B7139839/responsive_peak/images/icon_anonymous_message.png)