Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
machuwey committed Mar 5, 2024
1 parent 4a561b7 commit d2fd4df
Show file tree
Hide file tree
Showing 32 changed files with 25,788 additions and 4 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions examples/apibara-example/apibara-frontend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MONGO_DATABASE_NAME = "<database_name>"
23 changes: 23 additions & 0 deletions examples/apibara-example/apibara-frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
22 changes: 22 additions & 0 deletions examples/apibara-example/apibara-frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Apibara example frontend

This is the frontend code to demonstrate Apibara's capabilities.

1. Get the files
2. Install the dependencies

```bash
npm install
```

3. Set the Mongo Database name where the data is stored by Apibara

```plaintext
MONGO_DATABASE_NAME = your_mongo_database_name
```

4. Run the frontend

```bash
npm run start
```
Loading

0 comments on commit d2fd4df

Please sign in to comment.