Evve is a web-based application that operates in the field of event ticketing and online event organizing. This application is aimed at buyers who want to buy digital tickets for an event and is also aimed at partners, especially event organizers who want to market their event tickets online.
This application is integrated with the 3rd party payment gateway, namely Midtrans
- Go
- Echo Framework
- MySQL
- GORM
- Docker
- GCP
- Clone:
git clone https://github.com/Capstone-Project-Team-2/Backend-Immersive.git
- Go to the Backend-Immersive directory
cd Backend-Immersive
- Jalankan perintah berikut
- Enter the package name you want to package-name
go mod init package-name
go mod tidy
-
Create a file in .env format (local.env for local development)
-
Write as follows in the .env file. Adjust to your needs
export JWT_KEY = 'your-jwt-key'
export DBUSER = 'your-db-username'
export DBPASS = 'your-db-password'
export DBHOST = 'your-db-host'
export DBPORT = 'your-db-port'
export DBNAME = 'your-db-name'
export KEY_SERVER_MIDTRANS = 'your-midtrans-server-key'
export KEY_CLIENT_MIDTRANS = 'your-midtrans-client-key'
Midtrans Server and Client keys are found on your Midtrans Dashboard. For reference, please check Midtrans
- For file upload purposes, create and save Google Application Credentials in a file with the name keys.json. For references to Google Application Credentials, please check reference or reference
This API documentation can be viewed on SwaggerHub.
try
