Giter Site home page Giter Site logo

the-labs's Introduction

the-labs

The Labs is an application that features the usage of Ticketmaster's APIs. It allows the users to search for an event and get more information on the event via Ticketmaster's events APIs.

Technology Stack

  • HTML5
  • CSS3 (no frameworks)
  • Javascript (with the Vue/VueX stack)

Project structure overview

All of the code is layout in a way that follows current best practices. The following best practices are utilized:

  • Vuex is used to passed around shared props for smart componenets.
  • Models are used to format the code returned from the API.
  • Files that has the name "Base" are meant to be presentational components, while those without "Base" in front of their names are smart components that deals with connecting to the Vuex store and handle non UI logic.
  • Components with "The" in front of their names are special components in which only one instance should exist.
  • Component communication is top down via props. Custom events are used to notify parent components of changes of their data.
  • CSS follows the BEM architecture to make it better organized.
  • Code is linted and uses Prettier for formatting
  • Variables and functions names are self documenting
  • Add comments where there may be some complex logic
  • Unit tests for included for each smart component, VueX modules, and models to test their logic. Some UI unit tests are included as well for presentational components.

Configuration

To run this code, please go over to Ticketmaster's website and register for an account to get your API key. After getting your API key, refer to the sample.env.local file to create your own .env.local file (note your own file name should not have the word sample in it).

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

the-labs's People

Contributors

dtrinh100 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.