modulepackage
0.0.0-20241110110547-82ad2fe208f6
Repository: https://github.com/dltruongdev/trinityapp.git
Documentation: pkg.go.dev
# README
TrinityApp
Design and implement a promotional campaign system for the Trinity app that offers a 30% discount on Silver subscription plans to the first 100 users who register through campaign links (note that vouchers generated for the campaign are only valid for a limited period).
Port: 8080
Routes: api/server.go
1. Requirements and Setups
- OS: Ubuntu
- Go 1.23
- Go Migrate
- Make for Makefile
- Docker
- Steps:
- Clone this repo
- Run Make commands with orders (make pullpostgres, make postgres, make migrate-up)
- Start the application (go run main.go)
2. Database schema
3. Flow chart
4. Improvement (Due to time limit, the app still need some improvements)
- Need implement Authenticate and Authorize
- Need implement Pagination and Search
- Need better structure
- Need document