Skip to content

mathewvaughan/orbital

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orbital

Tech test for Orbital Witness

Setup

  1. Clone the repo
  2. Make sure you have poetry installed (https://python-poetry.org/docs/#installation) and it is on your path
  3. Run poetry install to install dependencies
  4. Run poetry run uvicorn src:app --reload to start the server
  5. Go to http://localhost:8000/docs to see the docs
  6. To run tests, run poetry run pytest

Rubric

  • I want to build a rest API using FastAPI
  • I will try not to use a database because this is a read only app and it will save time
  • Order of implementation of features:
    • Handle list endpoint ✅
    • Handle pagination ✅
    • Handle custom page size pagination ✅
    • Handle detail endpoint ✅
    • Handle ordering by ID ✅
    • Handle desc and asc ordering ✅
    • Handle ordering by title_number ✅
    • Handle filtering by title_class ✅
  • Now I need to add the app creation step with the loaded json and do a quick manual test to see if it works fine ✅

About

Tech test for Orbital Witness

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages