Categorygithub.com/felipeversiane/donate-api
repository
0.0.0-20250104184643-1140d163b996
Repository: https://github.com/felipeversiane/donate-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Donation API

A RESTful API responsible for receiving donations, connecting to a payment gateway, and saving the information in a database.

Introduction

This API allows users to create a profile, either as a company or an individual, and make one-time or recurring donations for a specified period. It also provides functionality for registering admins who can view all the donations made.

🛠 Libraries used

  • github.com/jackc/pgx/v5 - PostgreSQL database driver for Go.
  • github.com/golang-jwt/jwt - For creating and verifying JWT tokens.
  • github.com/gin-gonic/gin - For creating API routes.

For a complete list of dependencies, see the go.mod file.

🚀 Development build

To run the project as a developer, follow these steps:

  • Clone the repository to your machine.
  • Open the project and create a .env file based on the .env.example file.

Once everything is set up, you can run the following command to start the project and test the application:

  docker-compose up --build

That's it! The API is running—enjoy!

Support

For support, visit our website felipeversiane.com and send us a message.