Giter Club home page Giter Club logo

daintree's Introduction

Daintree

A mobile shopping application created using React Native and Expo CLI. The deployed version can be found here.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This application requires that you have Node version 12.0 or higher installed on your machine.

  • Node.js

Setting Up

You can install Expo CLI globally using the command:

npm i -g expo-cli

You can create the app using the command:

expo init <app name>

Select the "blank" template under Managed workflow and hit Enter.

or you can also use run the following npm command:

npm install

To push the application to github, follow the instructions here or use the commands:

git init

git remote add origin repository_URL

The repository_URL is the link you would use to clone down your github repository.

To run the app locally, use:

npm start

Setting up the API

Sign up for the free (developer) Edamam Recipe Search API and click on the 'Applications' tab (next to Dashboard) and click on the 'View' button next to Recipe Search API to view the API key.

Then click on 'API Developer Portal'. Under 'Documentation', select 'Recipe Search API'. Under 'Example Get Request', there is an example link that can be used as the basis for the recipe search get request.

Deployment

To run the application on your local server, use:


yarn start

To deploy the application to github pages, you can follow the instructions here or use:


npm install gh-pages --save-dev

In the package.json file, add the following code to the first object:


"homepage": "http://github_username.github.io/repo_name"

Be sure to replace github_username with your github username and repo_name with the name of your repository.

Then inside the package.json file, add the following two scripts to the "scripts" object:


"predeploy": "npm run build",



"deploy" : "gh-pages -d build",

After those lines are saved and pushed to master, run:


npm run deploy

Once the application is deployed, navigate to your github repository Settings > Github Pages and change the Source to gh-pages.

Acknowledgments

This app was creating using React Native Tutorial for Beginners - Build a React native App [2020] from the Youtube channel Programing with Mosh as a base.

Authors

daintree's People

Contributors

christinaqtruong 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.