/SampleTodoApp

Backend and frontend (iOS) for a very simple todo app

Primary LanguageObjective-CApache License 2.0Apache-2.0

SampleTodoApp

Backend and frontend (iOS) for a very simple todo application

How to set up

  • Right now the application looks for the backend at localhost/3030
  • To run the rust app and serve the backend at localhost/3030:
    • Set your current directory to the backend directory
    • Use cargo run --release to run in release mode

Unit tests

The iOS client has a test suite that covers 91% of the code. There are snapshot tests and regular unit tests.

Make sure you have FB_REFERENCE_IMAGE_DIR=$(SOURCE_ROOT)/$(PROJECT_NAME)Tests/ReferenceImages an an enviroment argument for the tests target for snapshot tests to pass and run on an iPhone 6(s) simulator.

More info

Backend

  • Not scalable (uses sqlite and no caching layer)
  • Uses rust with iron framework as the web framework
  • No authentication or anything