Skip to content

Karatuss/ticket-trade

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

Ticket Trade

Anybody can create a ticket trade for his/her own event with preventing from scalped tickets.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

These days, concerts or big events opend by famous celebrities have worried about scalpers.

The users who try to catch a ticket get into online ticketing service, such as Interpark Ticket, may experience that they were not able to get a ticket and found some scalped tickets which were illegally gathered with macro programs.

The problem is they cannot get a scalped ticket even if they pay for it. It is a scam, but there is no law to protect them.


So, we thought we need to make a ticketing service with prevent users who use our service from scalpers at most before the law creates.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

🚨 Alert!! This project is working only on MAC environment!! 🚨

Prerequisites

Program versions which maintainers' use.

  • Hyperledger fabric 2.5.4
  • Docker Desktop 4.23.0
  • Spring boot 3.1.4
  • Java 17
  1. Download Java 17 or higher.

  2. Install prerequisites with following the link below.

https://hyperledger-fabric.readthedocs.io/en/release-2.5/prereqs.html

  1. Install the required fabric docker images, and binary.

https://hyperledger-fabric.readthedocs.io/en/release-2.5/install.html

When you run ./install-fabric.sh, please specify the version of fabric 2.5.4.

./install-fabric.sh --fabric-version 2.5.4 docker
  1. CouchBase setting for backend.

    • Docker (run the command below on shell)

      docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase:community-6.5.0
    • IntelliJ IDEA

      • Run > Edit Configurations > Modify Options > ☑️ Add VM options
      • INPUT
        -Dcom.sun.management.jmxremote.port=9000 
        -Dcom.sun.management.jmxremote.authenticate=false 
        -Dcom.sun.management.jmxremote.ssl=false
        
        Screenshot 2023-11-28 at 6 09 20 PM Screenshot 2023-11-28 at 6 10 10 PM Screenshot 2023-11-28 at 6 11 07 PM

Clone & Run

  1. Clone the ticket-trade where you want to work in.

    git clone https://github.com/TwoPair/ticket-trade.git
  2. Run the following command to remove any containers or artifacts from any previous runs.

    cd blockchain-network/test-network
    ./network.sh down
    ./launcher.sh
  3. Open ticket-trade/Ticketing folder with IntelliJ, selecet Ticketing.java file, and let's run it.

Usage

  1. User

    • If you login normally, you can face a event selection page.
    • Check and get inside a event you want to reserve, select seats and click the reservation button.
    • You can see your reservation in the event.
  2. Manager

    • The admin gives you this accout when you want to create your own event.
    • After login with this accout, you can make an event and set options.
    • If users book your event, you can check who reserves.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Hyunmin Shin - shm1193@gmail.com Youngrae Kim - kyrae604@naver.com Sooeung Im - dlatndmd7@naver.com

Project Link: https://github.com/TwoPair/ticket-trade