Coder Social home page Coder Social logo

wkshp-bucket-list-travel-app's Introduction

Bucket List Travel App - Workshop

Workshop given on 23/05/2019 by @JoseDuSV and @RobinCsl in Budapest, Hungary 🇭🇺

Meetup Event Page

Prerequisites

  • Node v11.15.0
  • Yarn v1.15.2

In addition, if you would like to work with the mobile version, make sure you have set up your development environment to that end, by following these guides:

Getting started

First, clone the repository:

git clone [email protected]:kiwicom/wkshp-bucket-list-travel-app.git

Go into the resulting folder:

cd wkshp-bucket-list-travel-app/

Create .env file and set GRAPHQL_URL to https://bucket-list-workshop-graphql.josedusv.now.sh/graphql (see .env-sample):

GRAPHQL_URL=https://bucket-list-workshop-graphql.josedusv.now.sh/graphql

Install the dependencies by running

yarn install

Note: you must use Yarn to install dependencies because this repository makes use of Yarn workspaces; using npm will not work correctly.

To run the web version, use the web script:

yarn web

and go to http://localhost:3000 to see the result.

To run the mobile version, use the mobile script:

yarn mobile

and press d to open Expo DevTools. Use these dev tools to run the app on your Android emulator/device or on your iOS simulator.

🎉 Congratulations, you successfully ran the project!

Going through the workshop

If you followed the previous instructions, you are running the app from the master branch of this repository. That means you can see what the final app looks like. Take your time to try and play with it to get a feel for what you will need to do later.

This workshop is divided in 5 steps. Each step aims at showing you one aspect of cross-platform development with React Native and React Native Web.

You will need to switch to the step's branch to see the instructions in the README file as well as have the correct starter files for that step.

  • Step 0: Intro to React Native
git checkout step-0
  • Step 1: Cross-platform navigation
git checkout step-1

Note: have a look at the HINTS.md file if you need some pointers.

  • Step 2: Intro to GraphQL + Relay
git checkout step-2
  • Step 3: Using Storybook on mobile and web
git checkout step-3
git checkout step-4

Note: have a look at the HINT.md file if you need some pointers.

Warning: There are no "solutions" branches; the steps sort of build into each other, which means you could switch to the next branch to see how you could have solved the previous one. There are no explanations available at the moment; feel free to post an issue and ask if something seems unclear.

wkshp-bucket-list-travel-app's People

Contributors

robincsl avatar

Stargazers

Albert Alises avatar  avatar Henrique Carvalho da Cruz avatar Adam Horvath avatar

Watchers

James Cloos avatar Petr Šnobelt avatar Stanislav Komanec avatar Josef Duda avatar Jozef Képesi avatar Pavel Řezníček avatar Alex Viscreanu avatar Laďa Radoň avatar Martin Bajanik avatar  avatar  avatar

wkshp-bucket-list-travel-app's Issues

Pin dependency regarding react-navigation

During the workshop, there was an issue for Windows users related to react-navigation.
A participant had found that pinning this dependency solved the issue.

Need to add this change to master branch and rebase all the steps on it.

Using this workshop

Thanks for taking the time to do this workshop.

Can you add a readme explaining how to work through it?

Also, are there solutions to the steps? I notice that step-0-1-2 and final search.js are the same.

Thank you.

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.