GithubHelp home page GithubHelp logo

waqasshabbir / peoplemath Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/peoplemath

0.0 1.0 0.0 380 KB

Web application for team planning

License: Apache License 2.0

Go 17.70% Shell 0.64% TypeScript 67.39% JavaScript 2.00% CSS 0.66% HTML 11.61%

peoplemath's Introduction

PeopleMath

Introduction

This is a web application designed to help managers plan how teams will spend their time, particularly in situations where there is an aim to split the team's resources between several independently-prioritised "buckets" of work in a certain ratio.

The front end was built using Angular and Angular Material. The API server in the backend directory was written in Go.

The whole application was designed to run on Google AppEngine, using Google Cloud Datastore for persistence, though the front-end could be deployed with a back-end that used an entirely different persistence mechanism or runtime platform.

This is not an officially supported Google product.

Development

The easiest way to work on the front end is to use the Angular CLI (ng serve, ng test etc), after an npm install to install the dependencies.

In development mode, the CLI will proxy API requests to a backend running on localhost:8080. To run the backend server locally, install the Go toolchain (1.11 or later), run go build in the backend directory, and run the resulting peoplemath binary.

The simplest way to run it is with peoplemath --inmemstore, which will use a simple in-memory implementation of the API. This has no external dependencies, but data written will not survive a restart of the API server.

To persist the API data and exercise the Cloud Datastore persistence layer, the Cloud Datastore emulator can be used: install and start the emulator, then set the environment variables according to the instructions, set the GOOGLE_CLOUD_PROJECT environment variable, and run peoplemath with no arguments.

Deployment to AppEngine

To deploy the app to Google AppEngine:

  • Create a Google Cloud project as described in the quickstart guide
  • Run gcloud config set project [YOUR_PROJECT_ID]
  • Run build_appengine.sh or equivalent commands to build the front-end and generate the appengine_dist directory
  • cd appengine_dist and gcloud app deploy

peoplemath's People

Contributors

amdw avatar

Watchers

Waqas Shabir 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.