File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
2 . Select Node.js (express.js) as the type
10
10
3 . Click Create New API Key
11
11
4 . Copy the resulting API key string to the clipboard
12
- 5 . Set the environment variable ` DARKSPARK_API_KEY ` to the copied value
13
- 6 . Run ` npm install `
14
- 7 . Run ` npm start `
12
+ 5 . Open Terminal, cd to BASE/node-expressjs
13
+ 6 . Set the environment variable ` DARKSPARK_API_KEY ` to the copied value using following command: export DARKSPARK_API_KEY = <insert key here >
14
+ 7 . Run ` npm install `
15
+ 8 . Run ` npm start `
15
16
16
17
The final two steps can be done in one command via:
17
18
@@ -20,6 +21,7 @@ DARKSPARK_API_KEY=<insert key here> npm start
20
21
```
21
22
22
23
An expressjs webserver will start on port 3000. All accesses to this server will be observed by Darkspark.
24
+ Browse to 'http://localhost:3000/api-doc '
23
25
24
26
## Postman Collection
25
27
You can’t perform that action at this time.
0 commit comments