Code Monkey home page Code Monkey logo

interview-gorry's Introduction

Before you run the app these are the dependenncies you need to install:

  1. Install docker
  2. Install golang
  3. Port 9999 needs to be free. Will use port: 9999 for the api

make build

then

make run

To stop

make stop


This is the default Configuration, and located at configuration/config.env (Should be running fine with default configuration)

dbuser=gorry
dbpass=gorry
dbhost=gorry-richard-oey.db
dbport=3306
dbname=gorry
host=
port=9999

You can import Postman Collection from gorry.postman_collection.json

First you need to run:

  1. Hit api Create Location. Copy the uuid from this api response
  2. Hit api Create Event. Paste the result from step 1 into location field. Copy the uuid from this api response
  3. Hit api Create Ticket. Paste the event uuid from step 2. Copy uuid from this api response
  4. Hit api Purchase Ticket. Paste the ticket uuid from step 3.
  5. Transaction Detail and Get Event may have uuid query parameter, like this:
http://localhost:9999/transaction/get_info?uuid=xxx
http://localhost:9999/event/get_info?uuid=xxx

interview-gorry's People

Contributors

richardoctoey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.