Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Building Neo4j Applications with Node.js",
"image": "mcr.microsoft.com/devcontainers/javascript-node",
"postCreateCommand": "bash .devcontainer/post_create.sh",
"customizations": {
"codespaces": {
"openFiles": [
"SETUP.md",
".env.example",
"src/neo4j.js"
]
},
"vscode": {
"extensions": [
"formulahendry.code-runner"
]
}
}
}
1 change: 1 addition & 0 deletions .devcontainer/post_create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm install
5 changes: 0 additions & 5 deletions .gitpod.yml

This file was deleted.

18 changes: 18 additions & 0 deletions SETUP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Setup

This repository accompanies the [Building Neo4j Applications with Node.js course](https://graphacademy.neo4j.com/courses/app-nodejs/) on [GraphAcademy](https://graphacademy.neo4j.com).

When the devcontainer is created, such as in a GitHub codespace, all the required software and packages will be installed.

Follow the [Setup Instructions in GraphAcademy](https://graphacademy.neo4j.com/courses/app-nodejs/0-setup/1-setup/) to get started.

You will need to:

1. Create a new [`.env`](.env) file and copy the contents of the [`.env.example`](.env.example) file into it
2. Update the environment values in the [`.env`](.env) file with the values in the [Setup Instructions](https://graphacademy.neo4j.com/courses/app-nodejs/0-setup/1-setup/)

To start the application run:

```bash
npm run dev
```