Skip to content

Commit

Permalink
api: simple api server with google app engine (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurushao authored Apr 1, 2024
1 parent bdae454 commit be8dbfc
Show file tree
Hide file tree
Showing 7 changed files with 758 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GLAM *.+
# GLAM \*.+

The BlackRock For Solana.

Expand All @@ -17,7 +17,10 @@ This project is generated with the [create-solana-dapp](https://github.com/solan
- Solana CLI 1.18.7

Recommended:
```sh -c "$(curl -sSfL https://release.solana.com/v1.18.7/install)"```

```shell
sh -c "$(curl -sSfL https://release.solana.com/v1.18.7/install)"
```

### Installation

Expand Down Expand Up @@ -45,6 +48,7 @@ anchor test
This should also work:

```shell
pnpm run anchor-build
pnpm run anchor-test
```

Expand All @@ -53,3 +57,9 @@ pnpm run anchor-test
```shell
pnpm run dev
```

### Start the api server

```shell
cd api/ && npm start
```
17 changes: 17 additions & 0 deletions api/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

# Node.js dependencies:
node_modules/
1 change: 1 addition & 0 deletions api/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
runtime: nodejs20
Loading

0 comments on commit be8dbfc

Please sign in to comment.