This API Project is a server application created using the Golang programming language, utilizing the Gin framework to implement the API, the Gorm framework to implement Database (MySQL), and integrate with the Midtrans online payment platform.
To run this project, make sure you have Golang installed on your computer. Then do the following steps:
# clone repository
$ git clone https://github.com/arifsptra/fundright-api.git
$ cd fundright-api
# run project
$ go run main.go
The API server will run on http://localhost:8080
Following are some of the API endpoints that can be accessed from this application:
- POST /users - for register
- POST /session - for login
- POST /email_checkers - for email checker
- POST /avatars - for upload avatar
- POST /users/fetch - for fetch user
- GET /campaigns - for get all campaign
- GET /campaigns/:id - for get campaign by id
- POST /campaigns - for create new campaign
- PUT /campaigns/:id - for update campaign
- POST /campaign-images - for post campaign image
- GET /campaigns/:id/transactions - for get transaction campaign
- GET /transactions - for get user transaction
- POST /transactions - for create transaction
- POST /transaction/notification - for create transaction notification
If you want to contribute to this project, please do a pull request on this repository. I would really appreciate your help in developing this app.
This project is licensed under the MIT license. Please see the LICENSE file for more information.