Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.84 KB

File metadata and controls

60 lines (40 loc) · 1.84 KB

Multi-event Booking (Vue + Go)

N|Solid

This application was built on Golang 1.14.3, Vue and Vibes. It's basic functions is to enable you purchase tickets for events uploaded and get your receipt in PDF immediately after payment.

  • Payment Integration : Rave by Flutterwave
  • Deployed with Docker
  • Magic

Installation

This application required setting up on a local enviroment for Golang and creating a local database .

Clone the repo into your local and set up enviroment

$ git clone https://github.com/iamt-chadwick/multi-event-book.git
$ cd multi-event-book
$ cp .env.example .env

Update .env with the needed variables

VARIABLE *data needed
DB_PORT your database port
DB_HOST your database host
DB_NAME name of empty database created
PORT the port you want your application would be served on
RAVE_PUBLIC_KEY You would get this from your Rave Dashboard
RAVE_SECRET_KEY You would get this from your Rave Dashboard
RAVE_MODE this should be (live or test)
RAVE_API_TEST https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/v2/verify
RAVE_API_TEST https://api.ravepay.co/flwv3-pug/getpaidx/api/v2/verify

Run Application

Run command within the multi-event-book directory you cloned

$ go run main.go

Todos

  • Write Tests
  • Make a couple tweaks to improve performance

Preview of Reciept

N|Solid

License

MIT