Giter Site home page Giter Site logo

androidchallenge's Introduction

Android Challenge

AIS Android Challenge

Hey, whats up? Are you ready to start the challenge? We would like to remember that this step will help us evaluate your performance. Take a deep breath and let’s go! We’re rooting for you. 😁

Some Rules

1 - DO NOT share your answer with others.

2 - Remember that this challenge it's meant to evaluate your skills, you don't necessarily have to finish all the challenge code implementation, we just want to get know you better. 😁

Steps

  • Fork the repository.
  • Create a branch (from dev branch) with the following pattern: Use your name as branch name, eg: Considering that my name is Guilherme Prado the branch name should be: "feature/guilherme_prado"
  • Work only on your branch, and after you finish, create a Pull Request to "dev" branch on this repository.
  • DO NOT change the reviewers of your Pull Request.

API

You don't need to use all the following endpoints, but depending on your challenge, you might need to use one or more.

Base url is https://c526ee5a-a2fb-446c-b242-d5fa13592a1a.mock.pstmn.io

List Endpoint

  • If you need to do an API call to create a list on the challenge, use the following Endpoint:

    GET The path is /teams.

    Response example (List): { "name": "Celtics", "city": "New Jersey", "conference": "EAST", "teamImageUrl": "https://upload.wikimedia.org/wikipedia/pt/thumb/f/f5/Boston_Celtics.png/200px-Boston_Celtics.png", "description": "O Boston Celtics é uma franquia de basquetebol filiada à National Basketball Association e situada na cidade de Boston, no estado americano de Massachusetts. Fundado em 6 de junho de 1946, é uma das únicas equipes que se mantém desde que foi criada." }

Login Endpoint

To do the login, you need to use these two endpoints, the first one will give you an auth-token, and you need to use this token on the second request to get the user info.

  • If you need to do an API call to login, use the following Endpoint:

    POST The path is /auth

    Query Params: user_email - The user email. user_password - The user password.

    Response example: { "token" : "jkrdvjnksdv89qefn8fui31ncdn8" }

  • And after this, use this one to finish the Login step:

    GET The path is /login

    Headers: x-auth-token - The token received on the "/auth" response.

    Response example: { "name": "Jon Doe", "age": "20", "gender": "MALE" }

Let The challenge begin!

androidchallenge's People

Contributors

guilhermo-42 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.