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.
- Install docker if needed
- Clone this repo to your local machine
- Get Twitter API keys
- Publish your code under your own Github account
- Send us an email that you've completed the task at openpositions@cubicasa.com and give a link to your repo
- User can input a Twitter handle and get three latest tweets from that user
- Pay attention to the UI and UX
- Serve the client with the app
- Provide a "Get tweets" route
- Log relevant information about each search to a file
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