Skip to main content

InvestGo Factoring Platform

A comprehensive invoice factoring and investment platform built with Spring Boot. Empower your users to invest in invoices, manage portfolios, and access growth capital through our secure, scalable API.

System Online
POST /generate-token
GET /api/listarOportunidadInversion
POST /api/registrarFactura

Quick Start

Get your invoice factoring platform up and running in minutes

1

Set Up Your Database

Configure MySQL and update application.properties with your database credentials.
application.properties
spring.datasource.url=jdbc:mysql://localhost:3306/InvestGo
spring.datasource.username=your_username
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=update
The application will automatically create the required tables and seed initial data (roles, banks, currencies, risk levels) on first run.
2

Start the Spring Boot Application

Build and run the application using Maven:
./mvnw spring-boot:run
The server will start on port 8091 by default.
3

Authenticate and Get Your Token

Generate a JWT token by authenticating with the default admin account:
cURL
curl -X POST http://localhost:8091/generate-token \
  -H "Content-Type: application/json" \
  -d '{
    "username": "jamie",
    "password": "Admin12345"
  }'
{
  "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJqYW1pZSIsImV4cCI6MTY4..."
}
Use this token in the Authorization header for all subsequent requests: Bearer <token>
4

Make Your First API Call

List available investment opportunities:
cURL
curl -X GET http://localhost:8091/api/user/listarOportunidadInversion \
  -H "Authorization: Bearer <your_token>"
You’re now ready to explore the full API! Check out the API Reference for complete endpoint documentation.

Core Features

Everything you need to build a modern invoice factoring platform

Investment Opportunities

Create and manage investment opportunities that bundle multiple invoices, track funding progress, and calculate returns.

Invoice Management

Register invoices with automatic code generation, status tracking, and company association.

User & Role Management

Secure user authentication with JWT tokens and role-based access control for admins and investors.

Digital Wallets

Manage user portfolios with deposit and withdrawal transactions, balance tracking, and transaction history.

API Resources

Complete REST API documentation for all platform resources

Users

User registration, profile management, and authentication

Invoices

Invoice creation, retrieval, and status management

Companies

Company profiles and invoice issuer management

Investment Opportunities

Create and manage investment opportunities

Transactions

Wallet deposits, withdrawals, and transaction history

Wallets

User wallet balance and portfolio management

Platform Capabilities

Role-Based Access Control

Admin and Investor roles with granular permissions

Multi-Currency Support

Handle transactions in PEN and USD

Risk Assessment

Built-in risk classification system (A, B, C levels)

Pagination Support

Efficient data retrieval for large datasets

Ready to Get Started?

Follow our quickstart guide to set up your development environment and make your first API call in under 10 minutes.

Start Building Now