Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.27 KB

user-flow.md

File metadata and controls

39 lines (28 loc) · 1.27 KB

User-flow

Please make sure you have read the README.md first.

Background

Build a simple api server that could allow user create an account and login.

Build a simple iOS application with simple user interface, that allow user login with the app through the API you build.

User Model

{
  "id": "xxx",                  // user id(you can use uuid or the id provided by database, but need to be unique)
  "name": "test",               // user name
  "dob": "",                    // date of birth
  "address": "",                // user address
  "description": "",            // user description
  "created_at": ""              // user created date
}

This user model is just an example, feel free to modify it.

API

GET    /user/{id}                   - Get user by ID
POST   /user/                       - To create a new user
POST   /login                       - User login
POST   /logout                      - User logout

User Interface

user interface

Getting started

There's nothing here, we leave it to you to choose the build tool, code structure, framework, testing approach...