Code Monkey home page Code Monkey logo

bitcoin-bazaar's Introduction

Bitcoin Bazaar App

js-standard-style

This app is intended to be the base for many different alternative currencies, social currencies and marketplace apps.

⬆️ How to Setup

Step 1: git clone this repo:

Step 2: cd to the cloned repo:

Step 3: Change your App name. Replace AlternativeCurrencyApp by your currency name. Find and replace with your favorite editor. Or with teh following commands:

  • $ find . -type f -exec sed -i 's/alternativecurrencyapp/bitcoinbazaar/g' {} \;
  • $ find . -type f -exec sed -i 's/AlternativeCurrencyApp/BitcoinBazaar/g' {} \;
  • $ find . -type f -exec sed -i 's/Alternative Currency/Bitcoin Bazaar/g' {} \;

Step 4: Install the Application with npm install

Step 5: Generate ios and android folders with react-native eject

Step 6: Link the libraries with react-native link

Step 7: Now you are able to run the app with react-native run-android. For more info go to the next section: How to Run the App

Step 8: In order to make Location and Camera (among other services) to work you should replace the files inside ios and android folders by their copy in BuildFiles. Check out the Readme.md in that folder.

▶️ How to run the App

  1. cd to the repo
  2. Run Build for either OS
  • for iOS
    • run react-native run-ios
  • for Android
    • Run Genymotion
    • run react-native run-android

▶️ Set your Icons

Logo inside de app

Overwrite the files:

App Icon

🚫 Standard Compliant

js-standard-style This project adheres to Standard. Our CI enforces this, so we suggest you enable linting to keep your project compliant during development.

This project uses react-native-config to expose config variables to your javascript code in React Native. You can store API keys and other sensitive information in a .env file:

API_URL=https://myapi.com
GOOGLE_MAPS_API_KEY=abcdefgh

and access them from React Native like so:

import Secrets from 'react-native-config'

Secrets.API_URL  // 'https://myapi.com'
Secrets.GOOGLE_MAPS_API_KEY  // 'abcdefgh'

The .env file is ignored by git keeping those secrets out of your repo.

📂 Related Articles

Ignite Documentation - Ignite Wiki https://github.com/infinitered/ignite/wiki

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.