Skip to content

Sarthak0702/Fyle_Assignment

Repository files navigation

Fyle Backend Challenge

Who is this for?

This challenge is meant for candidates who wish to intern at Fyle and work with our core engineering teams.

  • You should be available to start by 17 October, 2021
  • You should be able to commit to at least 3 months (we strongly prefer 6 months)

Why intern at Fyle?

Fyle is a fast-growing Expense Management SaaS product. We are ~40 strong engineering team at the moment. About 60% of our engineers started off as interns. Interns at Fyle do extremely challenging and impactful work.

People love working at Fyle. Check out our Glassdoor reviews here. You can read stories from our teammates here.

Challenge outline

This is a web application designed in a context of a single classroom. Described here

Your tasks

  1. Add missing APIs mentioned here and get the automated tests to pass
  2. Add a test for grading API
  3. Get the test coverage to 94% or above

Submission

Once you are done with your task, please use this form to complete your submission.

What happens next?

You will hear back within 48 hours from us via email. We may request for some changes based on reviewing your code.

Subsequently, we will schedule a phone interview with a Fyle Engineer.

If that goes well, we'll make an offer.


Installation

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

Install requirements

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

Reset DB

export 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

About

Solution to Fyle internship problem statement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published