Build a mobile app for DuckIt (described below). We have deployed the backend at https://nametag-duckit-2.uc.r.appspot.com/
Please write what you consider to be production quality code, whatever that means to you. You can build an iOS or Android app. Your solution should run in the Android emulator / iOS simulator for reasonably modern phones. Don't worry about getting an app into TestFlight or sending us an APK, we'll build and run it ourselves. We'll swap in our own provisioning profiles and developer accounts, if needed.
As in real life, answers to clarifying questions will be elusive. If you have a question, write it down, and guess what you think my answer would be.
Duckit: Reddit, but for ducks!
As we all know, the Internet exists exclusively for photos of cats. But what about pictures of ducks? For far too long, ducks have been left out. Our new startup will revolutionize the world of duck related photo sharing.
We hired the best designer and came up with the following wireframe to give you a sense of what we are looking for:
Luckily, the backend API has already been built for you.
/signin
{"email": "...", "password": "..."}
{"token": "....."}
/signup
{"email": "...", "password": "..."}
{"token": "....."}
/posts
Authorization: Bearer <token>
// optional{“posts”: [{"id": <string>, "headline": "...", "image": "https://...."}]}
/posts/:id/upvote
Authorization: Bearer <token>
{“upvotes”: 11}
/posts/:id/downvote
Authorization: Bearer <token>
{“upvotes”: 9}
/posts
Authorization: Bearer <token>
{“headline”: “...”, “image”: "<url>"}
The backend is available at https://nametag-duckit-2.uc.r.appspot.com