Coder Social home page Coder Social logo

backend's Introduction

backend's People

Contributors

dostuffthatmatters avatar

Watchers

 avatar

backend's Issues

Dequeuing of Calls

Add method for dequeuing calls from these queues according to the filters.

Add Comments to Calls (Backend)

Possibility to store a comment with each call (in call record itself).

The helper can make notes about a call (no formatting just plan text).

When call is rejected that comment is removed.

Implement Call Forwarding (Backend)

Add all database fields - without scheduling.

Test out call forwarding with Twilio.

Implement the actual forwarding.

Add REST-endpoint to toggle forwarding.

Setup Testing Environment (Backend)

Modify flack_backend/__init__.py for easy switch between Testing and not Testing (On GAE as well as locally).

A dedicated database for testing.

Dedicated environment variables.

Conceptualize list of features to test.

Refactor backend API to be RESTful

Change routes according to the new standard v1.

Do not deploy yet - or if so just with --no-promote

Commits associated with this issue are accidentily mixed up with issue #41 .

Add version numbers to API

Add version numbers to api:

.com/backend/... -> .com/v1/backend/...

This makes it easier to further develop the backend separately from the backend.

The Release CW 15 will be the API version v1.

Call comment not saving

Whenever trying to save a call comment (onBlur of the comment text field) it says "invalid session token".

Migrate from Heroku to GCP App Engine (Backend)

Currently we are host the whole webapp and the hotline on Heroku.

However until now Heroku does not offer any Covid-19 related funding, whereas GCP does.

We could easily switch to the GCP AppEngine. Deploying and scaling seems to be super easy and fast.

Reduce Data Transfer (Backend)

Currently with most requests, the result gets send back to the client in the form of the full account/calls data. The frontend state changes only a little bit (e.g. fulfilling a call).

A full fetch after every operation is totally unnecessary!

Goal: Further reduced server load by reducing the amount fetching data that the client already has.

  • Account Form
  • Filter Settings
  • Calls list (accept, fulfill, reject)

Automated Testing (Backend)

Create Test environment: Separate Environment variables and separate testing database.

Add test scripts to backend, testing all API endpoints of the backend.

Unit tests for enqueuing and dequeuing already exists but they are not fully up to date!

Enqueuing of Calls

Add every - for now - incoming call to the local/global call queue.

Actually all three queues (see details tab) are in one single collection with clever querying.

Receive Calls (Backend)

Replace the current survey with the actual hotline

Receive calls and store/update the caller profile as well as the call record in our database.

Cleanup - Support Functions

Currently most directories have their own file support_functions.py.

This is very confusing because these support functions do not get used exclusively by this directory but also across directories.

Goal of this refactoring: Support Functions into separate directory and well sorted with clean imports.

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.