Skip to content

Commit

Permalink
fix: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
impelcrypto committed May 7, 2024
1 parent 267f839 commit 69c6557
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
# Astar Token API
# Astar-Token-API

### Scripts
This repository provides an API that offers various information about the Astar network.

## Getting Started

### API Route

You can find the API documentation and explore available endpoints using the Swagger UI at [api.astar.network](https://api.astar.network/).

### Running the Application

To start the app locally, follow these steps:

1. Install dependencies:

```bash
# install all the dependencies
yarn
```

# starts the server app in node.js environment
yarn start
# or you can use `yarn serve`
2. Serve the app using Firebase:

# starts a development server with ts-node
yarn dev
```bash
yarn serve:firebase
```

3. Now you can send requests to the local server. For instance:

# transpile the project for production
yarn build
```bash
http://localhost:5001/astar-token-api/us-central1/app/api/v1/token/price/ASTR
```

## Notes

- **No Hot-Reload**: This application does not support hot-reloading. After making changes to the code, you will need to restart the local server for the changes to take effect.

0 comments on commit 69c6557

Please sign in to comment.