This is a resource project where I integrate multiples payment gateways using Go as the backend and React.js (typescript) in the frontend.
I’m selling a “Mistery Box” as an example item for this project.
The objective is for this project to be a future resource for me and others developers who wants to implement payments on their system.
Here are the technologies used in this project.
- Golang
- Typescript
- React.js
- MongoDB
- Redis
- Docker
- Docker Compose
- Nginx
- Stripe SDK
- Paypal API
- Resend
| Gateway | Status |
|---|---|
| Stripe | Completed |
| Paypal | In development |
| Mercado Pago | In development |
- Dependencies
- Docker
- Docker Compose
- Makefile
- To build the containers:
$ make build-prod
- To run the project:
$ make up-prod
Set up the required environment variables ashed in /pkg/env/env.go, then start experimenting and using this repo as a reference to implement your own payment.
The main features of the application are:
- Frontend for buying a item.
- Checkout implementation for payments.
- Webhook implementation for payments.
- Confirmation email with resend.
- Saving payment on MongoDB
- Eduarte Paiva de Oliveira
Please follow on GitHub and join us! Thanks for visiting and happy coding!


