An API to quickly make monetary transactions built on Express.js and Typescript, using PostgreSQL
fast.money API uses:
- Express.js (+ Typescript)
- Knex.js (Query Builder)
- NGINX (Load Balancer)
- PostgreSQL (Database)
- Gatling (Load testing)
- Docker (Containerizing)
System requirements:
- Node.js (v20.11.0)
- Docker (v20.10.24)
- Git (v2.33.1)
Manually installation (with Docker for PostgreSQL):
# 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):
# Just run it with Docker Compose
docker-compose up -d
Serão adicionadas após a realização dos primeiros testes com o Gatling