Git Product home page Git Product logo

farmsmart-firebase's Introduction

farmsmart-firebase

Master

CircleCI

Develop

CircleCI codecov Quality Gate Status

The FarmSmart is a mobile app providing tailored recommendations to farmers based on their location, starting season, farming purpose (such as for profit), as well as details about their land. In addition, the app will include the latest farming tips as well as links to various chat groups, enabling farmers to communicate, share information and eventually sell their produce.

This repository contains the Firebase backend services such as Cloud Functions and Rules for Firestore and Cloud Storage.

Get started

  1. Install NodeJS. This project uses Node 8
  2. Install the Firebase CLI
npm install -g firebase-tools
  1. clone the farmsmart-firebase project
  2. install git submodule dependencies
git submodule update --init --recursive
  1. install node package dependencies
npm install
  1. you can now work within each of the project directories e.g.
cd functions
npm test

CI/CD

For development deployments:

This repository is connected to CircleCI to run tests and deploys to a firebase project. Commits to feature/, develop, release/ and master branches will trigger a build and deploys to pre production projects automatically.

  • feature branches deploys to a feature project
  • develop branch deploys to the dev project
  • release branches deploys to staging project

Release Management

For production deployments:

Commits to master branch will trigger a build and deployment. This deployment requires a manual approval step in CircleCI. A member of the team with push privilege should visit CircleCI and approve the workflow step that is on hold.

Release tags can be created following the format: v1.0.0

Release tags will trigger a build on CircleCI and will require manual approval before new code is deployed to Firebase production project.

farmsmart-firebase's People

Contributors

sureshkrishnan-mr avatar maribel4amido avatar

Stargazers

Adaika Hamza avatar James Peet avatar

Watchers

Lee Higgins avatar James Cloos avatar Nerea avatar Albert Miró avatar

Forkers

chemouri jndhlovu

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.