Giter VIP home page Giter VIP logo

haut-test-mobile's Introduction

Mobile Application Boilerplate for Full Stack Assessment

This is intended to be used with the Back End Boilerplate where backEndURLBase in App.tsx should be changed to the back end server's address. If you aren't running the back end server on the same machine as what you run npm run schema on then you'll also need to modify package.json appropriately.

Quick start

Install docker and docker-compose

You can run the following commands in the next sections within a Docker container by running

docker-compose build haut-rn
docker-compose run --service-ports --rm haut-rn

and replacing localhost in package.json with host.docker.internal if running MacOS or Windows.

If running Linux, don't use docker and instead make sure you are running node 16.13.2 and install the expo CLI globally

npm install --global [email protected]

Testing with Expo Go App

Install Expo Go app on a test device: https://expo.dev/client

Setting up the back end

Clone this repository and follow the instructions in the README. If running the back end on a different computer than the test device, you'll need to export the environment variable BACK_END_URL to an IP address of computer running the back end with the port number e.g. export BACK_END_URL="172.30.1.12:3030".

Then run these commands

npm install # install project dependencies and generate code
npm start # start development server and test application using expo go mobile app

Scanning the generated QR code through Expo Go on Android may not work so try to "Enter URL manually" by copying the URL printed by npm start e.g. โ€บ Metro waiting on exp://ek-939.clearcharles.haut-rn.exp.direct:80

Using VSCode for Editing

The following extensions are used by the team:

  • ESLint dbaeumer.vscode-eslint
  • GraphQL GraphQL.vscode-graphql
  • Prettier - Code formatter esbenp.prettier-vscode

haut-test-mobile's People

Contributors

charles-johnson avatar kelerchian 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.