Giter Club home page Giter Club logo

fyle-interview-intern-backend's Introduction

Fyle Backend Challenge

Who is this for?

This challenge is meant for candidates who wish to intern at Fyle and work with our engineering team. You should be able to commit to at least 6 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

You are allowed to use any online/AI tool such as ChatGPT, Gemini, etc. to complete the challenge. However, we expect you to fully understand the code and logic involved.

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

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

fyle-interview-intern-backend's People

Contributors

aditya999123 avatar gokulk16 avatar kirtigautam avatar nileshpant1999 avatar snarayanank2 avatar sumanth-fyle avatar viiicky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fyle-interview-intern-backend's Issues

Test invalid

The test_grade and regrade assignment are grading assignment 4 in principal_test.py but assignment 4 is in draft state.

Wrong Test Cases

Issue:
The initial database migration lacks the necessary data for effective test case execution. As a result, running tests on a freshly migrated database will fail initially. Additionally, subsequent tests that modify data in the database will also fail, as they rely on predefined values for comparison.
Impact:
Test Failure on Fresh Migration: Upon deploying the application with a fresh migration, test cases will fail due to missing or incomplete data in the database.
Failure in Subsequent Tests: Tests that modify data in the database will fail due to discrepancies between the expected and actual database states.

Related File:
sql_test.py
sql_test.py

Screenshot of Initial DB Migration
image

Exception in worker process when run.sh is executed

When I try to start the server by executing the run.sh script, an error occurs. The error is "Exception in worker process
." There is also an error while installing gevent using requirements.txt. I'm running the script on ARM based M1 pro mac.

Documenting for windows

Hi just wanted to say documentation is made regarding linux. i hope you guys update it for windows users there are only few commands which needs to be updated. Even better if you can dockerize the whole app

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.