GithubHelp home page GithubHelp logo

myhammer-frontend-test's Introduction

πŸ‘¦πŸ”¨ myhammer-frontend-test


MyHammer Frontend coding challenge

Create a responsive two-panel overview page in Angular. The attached jobs Json-File should be loaded with an HTTP-Request. Inside of the first panel, render a list of all the β€œactive” jobs. Once the user clicks on a job item from the list, show detailed information of the selected job on the second panel. The code should be tested with Karma and/or Protractor. Feel free to decide which information needs to be displayed in job item and which in job detail view. Using libraries like Bootstrap 4 or Angular Material is a plus.

Handing in your results

We care about high quality and well tested code that is easily maintainable, please make sure that the code you submit is working and tested as this is more important than finishing the whole task. When you hand in your code please describe in a short README how it should be executed. In case the code is not completely finished: please describe the open tasks that still need to be done and a rough estimation on how long you would need to finish them. Please share your project on github or similar public repository, if you do not have an account send us a compressed file through https://wetransfer.com/ or any other sharing service.



Counties deployment CI/CD

This Angular Application integrated on GitHub repository and deployed to Netlify in below address :

React.js

Netlify is an excellent platform for building, deploying, and managing web applications. It supports automated deployment using GitHub webhooks and also provides some advanced features such as custom domains and HTTPS all for free. Deploying a Static Site to Netlify is a breeze. Although it does support running Angular JS applications, there are a couple gotchas in the deployment process that I had to wrangle together from various blog posts in order to get things to work.

πŸ“‹ Setup

    $ git clone https://github.com/chorakchi/myhammer-frontend-test.git
    $ cd myhammer-frontend-test
    # install dependencies
    $ npm i           
    # serve develpement production
    $ ng serve        

πŸ—οΈ Build

    # local deployment
    $ ng build           
    # deploy as production
    $ ng build --prod  

    # address of APIs set in environments > 
    # environment.ts & 
    # environment.prod.ts   

βœ”οΈ Test

    # run unit tests
    $ ng test            
    # run end to end test
    $ ng e2e             

Components & Some of files

β”œβ”€β”€ src
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   └── jobs.json                                    # mockData Api "get list Jobs"
β”‚   β”œβ”€β”€ app                                              # mcomponets, test html and styls is in this directory"
β”‚   β”‚   β”œβ”€β”€ app.component.ts
β”‚   β”‚   β”œβ”€β”€ app.component.sass
β”‚   β”‚   β”œβ”€β”€ app.component.spec.ts
β”‚   β”‚   β”œβ”€β”€ app.component.html
β”‚   β”‚   β”œβ”€β”€ app.module.ts
β”‚   β”‚   β”œβ”€β”€ dialogOverviewDialog.component.ts
β”‚   β”‚   β”œβ”€β”€ dialogOverviewDialog.component.sass
β”‚   β”‚   β”œβ”€β”€ dialogOverviewDialog.component.spec.ts
β”‚   β”‚   └── dialog-overview-dialog.component.html
β”‚   β”œβ”€β”€ environments
β”‚   β”‚   β”œβ”€β”€ environments.prod.ts                          # eenvironment variable for deployment
β”‚   β”‚   └── environments.ts                               # environment variable for local development"
β”‚   β”œβ”€β”€ main.ts
β”‚   β”œβ”€β”€ material-module.ts                                # all material design module imported into this file"
β”‚   └── index.html                                        # Main Html Page, material design CSS linked in this place               
β”‚   .   
β”‚   .
β”‚   .



πŸ‘‡ Documentation & resource

https://material.angular.io

https://angular.io/guide/rx-library

https://angular.io/guide/testing

https://karma-runner.github.io

https://www.protractortest.org

https://angular.io/ 🐡

myhammer-frontend-test's People

Contributors

chorakchi avatar

Stargazers

 avatar  avatar

Watchers

 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.