You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -X POST http://localhost:8080/admin/schema --data-binary '@schema.graphql'
60
+
curl -X POST http://localhost:8080/admin/lambda --data-binary '@lambda.js'
61
+
```
35
62
36
-
Run the development server:
63
+
## 4. Run Ethereum loader
64
+
65
+
You can either run geth locally, or you can use a geth gateway provided by
66
+
Cloudflare, Alchemy, Infura or others. I recommend using GraphQL endpoint
67
+
because that's [much
68
+
faster](https://twitter.com/manishrjain/status/1546675483986710529) than
69
+
JSON-RPC.
37
70
38
71
```bash
39
-
cdmy-website
40
-
npm run start
72
+
cdimporters/eth
73
+
go build .&& ./eth --geth "GraphQL or JSON-RPC endpoint of Geth"
41
74
```
42
75
43
-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
76
+
This would start loading ETH transactions into Outserv.
77
+
78
+
79
+
## 5. You're ready
44
80
45
-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
81
+
You can now use any GraphQL editor (like Insomnia) to query Outserv at:
82
+
`http://localhost:8080/graphql`. The editor would show the API documentation
83
+
automatically.
46
84
47
-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
0 commit comments