Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drift-labs/solana-actions-server


https://github.com/drift-labs/solana-actions-server

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# Express TypeScript API

## Prerequisites
- Node.js
- npm or yarn
- A .env file with necessary configurations

## Installation
1. **Clone the repository:**
```bash
git clone
cd
```
2. **Install dependencies:**
```bash
npm install
# or
yarn install
```
3. **Create a .env file:**
```bash
BUCKET=
ENV=
PORT=
NODE_ENV=
URL=
```
3. **Start the server**
```bash
npm run dev
# or
yarn dev
```

## Routes
```GET /blinks/deposit?token=&ref=```

```POST /transactions/deposit?token=&amount=&ref=```
```
Content-Type: application/json
{
"account": ""
}
```