Coder Social home page Coder Social logo

mimochallenge's Introduction

Overview

Download this repo and continue working on this not finished code base.

Create an additional view written in Swift that lets users create a new Mimo account or lets user login with their existing Mimo account.

  • You won't be judged on the visual design at all; the only metric is your code.
  • Part of this coding challenge is to read the documentation for the APIs provided to you.
  • Use Git to track your changes and upload your Git repo either on GitHub or Bitbucket to share it with us.
  • Make your first commit, once you start and commit regularly.

All of the authentication is done via Auth0

  • Auth0 Domain: mimo-test.auth0.com
  • Auth0 Client ID: PAn11swGbMAVXVDbSCpnITx5Utsxz1co
  • Auth0 Connection Name: Username-Password-Authentication

Authentication VC

- The VC should contain two fields: One for the email address and one for the password.
- If the email doesn't exist upon login, display an error message stating that the account doesn't exist.
- If the email exists upon signup, display an error message stating that the account already exists.
- After the login / signup, show the SettingsViewController.
	- Don't use any external library to handle the authentication for you. (Networking libraries like Alamofire are allowed!)

Relevant Auth0 API: Link_1 Link_2 Use openid profile email for the scope parameter

Additional tasks

- The existing SettingsViewController should display the email address of the user. Get this info from the JWT that you receive.
- If the user activates the dark mode (switch in settings), inverse all colors: foreground color should be white, and background color should be black for the entire screen. Use SettingsViewController.swift to make these changes.
- Save the dark mode state, so it persists if the user closes and reopens the app.
- Log out should bring you back to the authentication view controller.
- If you're brave enough, also display the Gravatar picture associated with the email address instead of the default image.
- If the user isn't logged in or the JWT is expired, show an error message instead of the SettingsViewController.

mimochallenge's People

Contributors

rodrigosuhr avatar

Watchers

 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.