Giter Site home page Giter Site logo

bencegyurus / jegyrendszer Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 542.95 MB

Home Page: https://jegy.bnbdevelopment.cloud

JavaScript 20.12% CSS 15.01% HTML 1.39% TypeScript 59.17% Dockerfile 0.15% Ruby 0.23% Java 0.69% Objective-C 0.22% Objective-C++ 0.07% Python 1.39% Shell 0.97% HCL 0.14% Mustache 0.43%
ticket-booking ticket-management ticketing-system

jegyrendszer's Introduction

Test run

  • run handle server cd handle-server && npm install && node index.js

  • run web server cd web-server && npm install && npm start

  • handle server host: localhost:3001

  • web server host: localhost:3000

  • redis host: editable in handle-server/index.js file

  • mongodb host: editable in ./config.json file

  • The App has never been tested on anything except iOS

  • default login for admin user: username : admin password : admin

  • The application is designed to be contaninerized, after building the images you can use docker-compose up -d to start all services

The application includes several issues and bugs, only use it on your own responsibility

API Documentaion

Open API

Events:

GET

api/v1/events

    {
        id : string,
        date : string,
        title : string,
        description : string,
        imageName : string,
        address : string,
        location : string,
        positions : {
            lat : number,
            lng : number
        },
        end : string,
        organiser : {
            name : string,
            website : string
        },
        performer : {
            name : string
            isGroupPerformer : boolean
        },
        tickets : [
            {
                name : string,
                price : number
            }
        ]
    }
]
key type desciption
id string esemény id-ja
date string esemény kezdetének időpontja e.g "2024-05-05T15:00"
description string esemény leírása
imageName string az esemény borítójának az url-e
address string az esemény helyszínének a címe
location string az esemény helyszínének a neve pl. AGORA MSH
position { lat : number, lng : number } az esemény helyszínének a koordinátája
end string esemény vége
organiser { name : string, website : string } az esemény szervezője
performer { name : string, isGroupPerformer : string } az eseény szereplő(i)
tickets Array<{ name : string, price : number }> megvásárolható jegyek az eseményhez

Event

GET

/api/v1/event/:readable-id

{
    media : {
        spotify? : string,
        youtube? : string,
        facebook? : string,
        apple_music? : string
    },
    id : string,
    background : string,
    title : string,
    description : string,
    date : Date,
    location : string,
    position : {
        lat : number
        lng : number
    },
    address : string,
    venue : string
}
key type desciption
media { spotify? : string, youtube? : string, facebook? : string, apple_music? : string } esemény média platformjai
date string esemény kezdetének időpontja e.g "2024-05-05T15:00"
description string esemény leírása
background string az esemény borítójának az url-e
address string az esemény helyszínének a címe
location string az esemény helyszínének a neve pl. AGORA MSH
position { lat : number, lng : number } az esemény helyszínének a koordinátája
id string esemény azonosítója
title string az esemény neve
venue string terem azonosítója

Tickets to the event

GET

/api/v1/tickets/:readable-id

  • Params:
name value  description
reserved boolean foglalt helyek
Array<{
    name : string,
    price : number,
    seats : Array<string> // ids of seats
    numberOfTicket : number,
    id : string,
    pendingPlaces : Array<string>   // reserved == true
    boughtPlaces : Array<string>
    numberOfFreeTickets : number
}>
key type  description
name string jegy neve
price number jegy ára
seats Array [string] a jegyhez tartozó ülőhelyek id-ja
numberOfTicket number az összes jegy száma
id string jegy id-ja
pendingPlaces Array [string] a vásárlás alatt álló ülőhelyek id-ja
boughtPlaces Array [string] már megvásárolt ülőhelyek id-ja
numberOfFreeTickets number megvásárolható jegyek száma

jegyrendszer's People

Contributors

bencegyurus avatar forthisplayer10 avatar

Stargazers

 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.