Skip to content

aguiar-labs/tainha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tainha logo

Tainha is an open-source API Gateway developed in Go (Golang), inspired by the rich culture of Florianópolis. Designed to be an affordable and efficient solution, Tainha simplifies routing HTTP requests to various backend services with ease and flexibility.

🌟 Features

  • Simple Routing: Direct requests to backend services based on defined routes.
  • Request with Parameters: Handle routes with dynamic parameters like {userId}.
  • Request with Queries: Support query parameters in routes and mappings.
  • Circular Requesting: Allow chained API calls between services.
  • Mapping Cache: Implement caching for mapped responses to improve performance.
  • Rate Limiting: Control the rate of incoming requests to protect backend services.
  • JWT Validation with JWK: Authenticate requests using JSON Web Tokens and JSON Web Keys.
  • Open Source: Contribute and customize Tainha to fit your needs.

We are on developing, feel free to collaborate

🚀 How to test

To test the application, you can use the json-server with test/db.json file.

npx json-server --watch test/db.json --port 3000

Then, you can start the Tainha application with the following command:

make run

or

go run cmd/gateway/main.go

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published