app ticket
It is a backend application using the Golang programming language that functions to purchase train tickets. This application is made using the Clean Architecture concept and uses the PostgreSQL database as data storage.
- Clone repository
git clone https://github.com/rezapace/go-tiket
- Enter the repository directory
cd go-tiket
-
Check the env file and adjust it to the database configuration being used
-
Enable the PostgreSQL database
-
Run the command to create the database and migrate it.
migrate -database "postgres://postgres:pass@localhost:5432/weather-app?sslmode=disable" -path db/migration-golang up
- make sure you have installed the migrate cli
scoop install migrate
- make sure you have installed the postgresql driver
- Jalankan aplikasi
go mod tidy
go run cmd/server/main.go
Project Theme: Aplikasi Ticketing."
Description: This platform is used for buying and selling concert and event tickets. Users can register as buyers and search for concert schedules according to their needs, as well as pay for tickets online. The platform also provides accurate information about ongoing events.
Features:
- User Registration.
- Implementation of In-App Notification (in-app notification, not push notification).
- User Profile.
- Transaction History.
- Search and Filter.
Technologies Used:
- Programming language: Golang.
- The use of other programming languages or third-party libraries is not allowed.
Architecture:
- Using Model-View-Controller (MVC) basic architecture with two layers (backend and frontend).
- Implementation of search, page sharing, and sorting features.
Available Roles:
- Admin.
- Buyer.
Development and Deployment:
- Development using Vercel for staging and production.
- Git workflow with two main branches: "master" for production and "develop/staging" for testing.
- Deliverables include an API that can be used by the front end, Swagger documentation, and a project repository.
Dokumentasi API dapat diakses pada file
output\Backend Ticketing.postman_collection.json
https://github.com/rezapace/Go-Tiket/blob/main/output/Backend%20Ticketing.postman_collection.json
![]() |
![]() |
![]() |
![]() |