Git Product home page Git Product logo

gyg-tours-test's Introduction

GetYourGuide Tours

codecov

GetYourGuide Practise Test
Search between different tours!

1 1 1

Features

  • Responsive design [Desktop / Mobile]
  • No scaffolding generators. Created from scratch.
  • Unit testing with Jest & Enzyme
  • Functional testing with Nightwatch
  • Bundle JS - CSS (Transpile ES6 and JSX to ES5, Compile SCSS)
  • Minify CSS - JS - Images
  • Autoprefix styles for different browsers
  • Lint JS with eslint
  • Sort / Filter / Pagination / Loading
  • 404 page

Why React

  • Easy to split functionality in atomic components.
  • Easy to reuse components between multiple projects.
  • Fast to code.
  • Great community support.
  • Easy to handle interactions.
  • Easy to test.

Considerations

Things I would have loved to do, but I couldn't for lack of time:

  • Deploy in demo server and provide public url.
  • Add more functional tests.
  • Generate different bundles in development (with sourcemaps, not minified, etc).

Run Project

Node: v8.9.2

1) Install Dependencies

npm install

2) Run

npm run start

3) Navigate to

http://localhost:3000

Develop

1) Start project

npm run start:dev

2) Compile assets (run it in a different terminal)

npm run watch

Unit Tests

npm run test:unit

Functional Tests

1) Run the app

npm run start:test

2) In another terminal run the tests

Attention: This required JAVA 8 installed with JAVA_HOME set

export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
npm run test:e2e

Author

Made from Córdoba, Argentina 😃

Facundo Allemand  
[email protected]

gyg-tours-test's People

Contributors

fallemand avatar

Watchers

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