Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielsantoslima/fast.money

💳 API to quickly make monetary transactions built on Express.js
https://github.com/gabrielsantoslima/fast.money

docker express postgresql rinha-de-backend-2024-q1 transactions

Last synced: about 10 hours ago
JSON representation

💳 API to quickly make monetary transactions built on Express.js

Awesome Lists containing this project

README

        

![](./repo/fastmoney.png)

# 💳 fast.money

> An API to quickly make monetary transactions built on Express.js and Typescript, using PostgreSQL

## Technologies

**fast.money** API uses:

- Express.js (+ Typescript)
- Knex.js (Query Builder)
- NGINX (Load Balancer)
- PostgreSQL (Database)
- Gatling (Load testing)
- Docker (Containerizing)

## How to install

System requirements:

- Node.js (v20.11.0)
- Docker (v20.10.24)
- Git (v2.33.1)

### Steps to install

> Manually installation (with Docker for PostgreSQL):

```sh
# Step 1: Clone the repository
git clone [email protected]:gabrielSantosLima/fast.money.git
cd fast.money

# Step 2: Install the dependencies
npm install

# Step 3: Configure env. variables
cp .env.example .env
# change .env with the env. values

# Step 4: Run the PostgreSQL
docker-compose up -d db --build

# Step 5: Run the code
npm run dev
```

> With Docker (for all services):

```sh
# Just run it with Docker Compose
docker-compose up -d
```

## Metrics

Serão adicionadas após a realização dos primeiros testes com o Gatling

## Autor




Gabriel Lima