sonnguyent1 / developer-review

A simple programming task for recruitment purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tw33t

Nice to meet you! We use this test at CubiCasa to evaluate all full-stack developer applicants before interviews. We hope you'll have fun with this assignment.

Your task is to build a simple Flask + Vue app that communicates with Twitter API and logs info about each search.

How to complete the task

  1. Install docker if needed
  2. Clone this repo to your local machine
  3. Get Twitter API keys
  4. Publish your code under your own Github account
  5. Send us an email that you've completed the task at openpositions@cubicasa.com and give a link to your repo

Requirements for the app

Front-end

  • User can input a Twitter handle and get three latest tweets from that user
  • Pay attention to the UI and UX

Back-end

  • Serve the client with the app
  • Provide a "Get tweets" route
  • Log relevant information about each search to a file

How to run

Make sure to set the environment variables with the proper values for the docker container.

TWITTER_TOKEN
TWITTER_TOKEN_SECRET
TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
APP_LOG_DIR=/app

Build the docker image and start server:

docker build -t cubicasa-developer-test .
docker-compose up web

About

A simple programming task for recruitment purposes

License:MIT License


Languages

Language:HTML 27.6%Language:Python 27.1%Language:CSS 16.8%Language:JavaScript 14.7%Language:Shell 11.3%Language:Dockerfile 2.6%