Giter Site home page Giter Site logo

eliely / nmf-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nmf-earth/nmf-app

0.0 1.0 0.0 7.05 MB

Understand and reduce your carbon footprint ๐ŸŒฑ iOS & Android.

Home Page: https://nmf.earth

License: GNU General Public License v3.0

TypeScript 95.83% JavaScript 4.17%

nmf-app's Introduction

๐ŸŒฑ NMF.earth app

Understand and reduce your carbon footprint


app-store google-play


screenshots

Depfu Contributor Covenant Build Status

Repository for the NMF.earth React Native application, built with Expo, Redux Toolkit and Typescript.


๐Ÿ“ฆ Getting started

Installing Dependencies:

$ yarn

Running the app:

$ yarn start

For starting the app on a specfic OS:

$ yarn ios | yarn android

Copy the 2 files that contains secrets and replace them with yours

$ cp app.example.json app.json
$ cp secret.example.ts secret.ts

๐Ÿ‘ฉ๐Ÿพโ€๐Ÿ’ป Development

  • Eslint is used in the project to enforce code style and should be configured in your editor.

  • Typescript is used in the project for typechecking and should be configured in your editor.

You can also check this manually by running:

yarn lint

or

yarn typescript

๐Ÿ›  Testing

Use the following command to run unit tests with coverage:

$ yarn test

Use the following to update unit tests

$ yarn test -u

Use the following to run unit tests in watch mode while developing:

$ yarn test --watch

๐Ÿ“šStorybook

Stories (*.story.tsx) can be automatically added to storyLoader.js with :

$ yarn prestorybook

๐Ÿš€ Deployment

Any branches merged into master will trigger a github action that runs expo publish. During this step app.example.json is used to generate an app.json file for expo's deployment, this is done with the following script scripts/generate-app-json.js.


๐Ÿ‘จโ€๐Ÿ’ป Contributors

Have a look here if you want to contribute!

๐ŸŒ You can help us with translations with our online tool POEditor.


๐Ÿ† Backers

A big thank you to Christopherย Gwilliams and to the Phelps family for their amazing contribution to the Kickstarter!


ยฉ๏ธ Open source - licence

Repository and contributions are under GNU General Public License v3.0

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.