Fyle Backend Challenge

Who is this for?

This challenge is meant for candidates who wish intern at Fyle and work with our engineering team. You should be able to commit to at least 3 months of dedicated time for internship.

Why work at Fyle?

Fyle is a fast-growing Expense Management SaaS product. We are ~40 strong engineering team at the moment.

We are an extremely transparent organization. Check out our careers page that will give you a glimpse of what it is like to work at Fyle. Also, check out our Glassdoor reviews here. You can read stories from our teammates here.

Challenge outline

This challenge involves writing a backend service for a classroom. The challenge is described in detail here

What happens next?

You will hear back within 48 hours from us via email.

Installation

  1. Fork this repository to your github account
  2. Clone the forked repository and proceed with steps mentioned below
Installation for Linux and Mac

Install requirements

virtualenv env --python=python3.8
source env/bin/activate
pip install -r requirements.txt

Reset DB

$env:FLASK_APP = "core/server.py"
rm core/store.sqlite3
flask db upgrade -d core/migrations/

Start Server

bash run.sh

Run Tests

pytest -vvv -s tests/

# for test coverage report
# pytest --cov
# open htmlcov/index.html
Installation for Windows
Note: Commands tested for powershell

Install requirements

virtualenv env --python=python3.8
.\env\bin\activate
pip install -r requirements.txt

Reset DB

$env:FLASK_APP = "core/server.py"
rm core/store.sqlite3
flask db upgrade -d core/migrations/

Start Server

.\run.bat

Run Tests

pytest -vvv -s tests/

# for test coverage report
# pytest --cov
# open htmlcov/index.html