Coder Social home page Coder Social logo

muhammad-sarfaraz / mobile-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shootismoke/mobile-app

0.0 0.0 0.0 13.77 MB

See your city's air pollution measured in daily cigarettes. iOS/Android.

Home Page: https://shootismoke.app

License: GNU General Public License v3.0

JavaScript 1.97% TypeScript 97.61% Shell 0.43%

mobile-app's Introduction

oss image

Sh**t! I Smoke

Know how many cigarettes you smoke based on the pollution of your location

Github Actions david-dm codeclimate spectrum


app-store google-play



screenshot-1 screenshot-2 screenshot-3 screenshot-4 screenshot-5


๐Ÿ“ฑ Try it on Expo

This app is bootstrapped with Expo, you can download the Expo app on the App Store or Play Store, and enter the url provided below. We have 2 release channels:

Release Channel Version Description Url
Production v1.8.10 Same version as Sh**t! I Smoke on the App Store and Play Store. https://exp.host/@shootismoke/mobile-app?release-channel=production-v1.8.10
Staging v1.8.10 Latest version currently in development: newest features, may contain bugs. https://exp.host/@shootismoke/mobile-app

๐Ÿ”จ Build it yourself

Run the following commands:

# Clone this repo
git clone https://github.com/shootismoke/mobile-app && cd shoot-i-smoke
# Install dependencies
yarn install

# Copy the file that contains secrets
cp app.example.json app.json

# Run the app with Expo
yarn start

The Expo packager will show, and you can either:

  • install the Expo app, scan the displayed QR code, and run the app on your mobile phone directly.
  • open the Android simulator.
  • open the iOS simulator.

Use your own API tokens

All required API tokens are already pre-filled in app.example.json. If you want to use your own API tokens, then in app.json, replace all the placeholders with the ones you generated for yourself. For those that are optional, you can just put null (without quotes).

Service Url Comments
Sh**t! I Smoke Backend https://github.com/shootismoke/backend Required. Pre-filled with a staging token.
World Air Quality Index http://aqicn.org/api/ Required. You can use the public one in app.example.json for development.
Google Maps for iOS https://developers.google.com/maps/documentation/ios-sdk/start Optional in development.
Google Maps for Android https://developers.google.com/maps/documentation/android-api/ Optional in development.
Sentry Bug Tracking https://sentry.io Optional.
Amplitude Analytics https://amplitude.com Optional. Note: we never track PII.

๐Ÿ™‹ Contribute

If you find a bug, or if you have an idea for this app, please file an issue here. We really appreciate feedback and inputs!

๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ช๐Ÿ‡ธ๐Ÿ‡จ๐Ÿ‡ณ You may also contribute with translations with our online tool POEditor. If you need context for some terms, here are some screenshots.

For code contribution, the codebase heavily relies on functional programming principles via the fp-ts library. The codebase itself is quite simple, so even if you're beginner to functional programming, it shouldn't be hard to follow along. You can start with these easy tasks.

More information on contributing here.

๐Ÿ”ฌ Tests

The codebase unfortunately isn't much covered by tests. Check out the *.spec.ts files in the project for tests. If you're interested to help out, have a look at issue #19.

๐Ÿ“ฐ License

GPL-3.0. See LICENSE file for more information.

โญ Credits

Created with pride by Marcelo & Amaury.

A huge thanks to the following contributors for their amazing work:


Sh**t! I Smoke - See your city's air pollution measured in daily cigarettes. | Product Hunt Embed

mobile-app's People

Contributors

amaury1729 avatar bertoort avatar brad-christie avatar dependabot-preview[bot] avatar dependabot[bot] avatar dragonspirit avatar ftonato avatar haramanjohal avatar idanyman avatar irvindominin avatar jamespearson avatar jorgerivero3 avatar kartik-budhiraja avatar leagoarant avatar lomby92 avatar lucienbl avatar marcelorisse avatar matepapp avatar melgenek avatar mmsw1597 avatar olgamorales avatar perlilja avatar pkhodaveissi avatar s2moon98 avatar sathia27 avatar sirius207 avatar steveny9911 avatar tanis-02 avatar vikrantnegi 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.