GithubHelp home page GithubHelp logo

milaaaad / angular-challenge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from armancreativesolutions/angular-challenge

0.0 0.0 0.0 648 KB

JavaScript 11.53% TypeScript 74.22% HTML 7.44% SCSS 6.81%

angular-challenge's Introduction

Javascript Ticket Challenge

The volleyball Federation decided to use an online selling platform for the next season, and our company has been chosen for implementing that.

Requirements

In this challenge, you are going to develop a responsive web application to show stadium seats randomly to user and user can select a seat. The basic application implemented and page designs are ready. You need to complete the application.

What is your task?

  1. Fork and clone this repository. You should complete the "ticket-challenge" angular application.
  2. There are two components in the project. You should complete them according to this document and design file.
  3. Make the implementation responsive.
  4. You should change the color of selected seats after user click. Also, you should log the coordinates of the selected seat.

APIs

Base URL: https://ticket-challange.herokuapp.com

  • GET /map

Get the list of map ids. You should use this endpoint to get the list and choose one of the stadium maps randomly

  • GET /map/<map_id>

Get map detail and show seats

in the response: 1 means reserved, and 0 means seat available to buy

Implementation details

Try to write your code as reusable and readable as possible. Also, don't forget to document your code and clear the reasons for all your decisions in the code.

It is more valuable to us that the project comes with unit tests

Please don't use any CSS framework (like bootstrap, material, ...)

Don't forget that many stadium seats are available (around 100k) so try to implement your code in a way that could show it smoothly. If your solution does not sample enough for implementing fast, you can just describe it in your documents.

Please fork this repository and add your code to that. Don't forget that your commits are so important. So be sure that you're committing your code often with a proper commit message.

angular-challenge's People

Contributors

alihoseiny avatar milaaaad 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.