GithubHelp home page GithubHelp logo

owlcoding / django-swift-analytics-example Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.79 MB

This is a demo project showing the possibilities to use Django-powered backend as a very simple analytics platform for mobile app. Created for the purpose of the tech talk in Phonies team, Demant.

License: MIT License

Python 67.72% HTML 10.54% Swift 21.74%

django-swift-analytics-example's Introduction

Django-Swift-Analytics-Example

Reasoning

This is a demo project showing the possibilities to use Django-powered backend as a very simple analytics platform for mobile app. Created for the purpose of the tech talk in Phonies team, Demant.

Installation

Django part

The django directory contains the requirements.txt file to use with pip to install dependencies. As far as I'm concerned, it's best to use it in virtualenv.

After installing the required dependencies, you can use ./manage.py migrate to create the database schema. After that manage.py createsuperuser would allow to access the admin interface.

Development server

To run the development server on the default port (8000) use the following command: manage.py runserver.

Swift part

Swift part is just a playground. It requires iOS 13 compatible Xcode, because it uses SwiftUI.

The UI is just 2 buttons that log different events, and there's a dumb class that communicates with the analytics server (assuming it's running on localhost, port 8000 - this is easy to change though). Swift UI Screenshot

django-swift-analytics-example's People

Contributors

dependabot[bot] avatar owlcoding avatar

Watchers

 avatar  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.