Giter VIP home page Giter VIP logo

hyper-tickets's Introduction

Hyper Tickets

Front-End

  • Allow visitor/user to browse tickets
  • Allow user to buy tickets
  • Allow user to host tickets

Back-End

  • API
    • BUY Ticket
    • CREATE Ticket
    • EDIT Ticket
    • DELETE Ticket
    • GET User data
      • Name
      • Tickets
    • LOGIN
  • Square for payments

DB

  • Store User data (auth)

Chain Code (Zack)

  • Store transactions for tickets

Hyper-Tickets api

Models

  1. Tickets
    id: { type: Sequelize.INTEGER, primaryKey: true },
    ownerId: { type: Sequelize.STRING },
    title: {type: Sequelize.STRING},
    location: {type: Sequelize.STRING},
    price: {type: Sequelize.DECIMAL},
    type: {type: Sequelize.STRING},
    seat: {type: Sequelize.STRING}

  2. Users
    username: { type: Sequelize.STRING, primaryKey: true },
    password: { type: Sequelize.STRING },
    displayName: { type: Sequelize.STRING },
    avatar: {type: Sequelize.STRING}

Endpoint Params Returns Method
/api/ticket/:id id Ticket (object) GET
/api/tickelist None Recent 20 tickets(array) GET
/api/user/:username username User (object) GET
/api/signup username, displayName, password (strings) String result POST
/api/login username, password (string) User (object) or FALSE POST
/api/delete id (integer) String result POST
/api/create owner,title,location,price(decimal),type,seat String result POST
/api/buy ownerId(purchaser),id(integer) String result POST
/api/edit <parameter(s) to change>,id(required) 'Updated' or err POST

hyper-tickets's People

Contributors

colinlmacleod1 avatar zackharley avatar robertwsaunders avatar

Watchers

James Cloos avatar  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.