Skip to content
Snippets Groups Projects
  1. Aug 12, 2024
  2. Jul 22, 2024
  3. Jul 15, 2024
  4. Jul 06, 2024
    • Daniel Schultz's avatar
      Support database interaction in tests · a7abb1bf
      Daniel Schultz authored
      We want our integration tests to run against a test database.  This
      allows us to create more specific tests (e.g. predict ID values) in
      addition to making sure we don't interact with real data.
      
      I decided to use the PostgreSQL schema support instead of requiring
      a separate `TEST_DATABASE_URL`.  This means there is less setup for
      a dev environment but also makes it easier for us to drop / create the
      schema as part of the tests.
      a7abb1bf
    • Daniel Schultz's avatar
      Fix deprecation warnings · fd97d4b2
      Daniel Schultz authored
      There is a known deprecation issue and we don't need to be bothered by
      it for now.  Eventually upstream will fix it in which case we should
      remove the line that silences the warning.
      fd97d4b2
    • Daniel Schultz's avatar
      Update pip on install · 44d57a7b
      Daniel Schultz authored
      This seems like standard boilerplate elsewhere, and was just omitted
      initially.
      44d57a7b
    • Daniel Schultz's avatar
      Add import sort to formatter · 952028d8
      Daniel Schultz authored
      I had thought this was enabled by default but it wasn't.  This just
      means our imports will be sorted in a more standard / predictable way.
      952028d8
    • Daniel Schultz's avatar
      Update to Python v3.12 · bc188fd5
      Daniel Schultz authored
      This also includes a new documented goal of staying on the most current
      stable version of Python.
      
      This seems like a good practice, but also we need some of the more
      recent typing features.
      bc188fd5
    • Daniel Schultz's avatar
      Add alembic migrations · ec04d748
      Daniel Schultz authored
      This is basically the result of the initial alembic setup with the
      addition of a single line to support custom schemas.  The reason for
      schema support is that integration tests will be running against a test
      schema.
      ec04d748
    • Daniel Schultz's avatar
      Add PostgreSQL · f2af88d5
      Daniel Schultz authored
      We're going to need to use a database to store the state (and results)
      of pdf conversions.
      f2af88d5
  5. Jul 03, 2024
    • Daniel Schultz's avatar
      Merge branch '2-create-presigned-service' into 'main' · b16888ea
      Daniel Schultz authored
      Add presigned post endpoint
      
      Closes #2
      
      See merge request !2
      b16888ea
    • Daniel Schultz's avatar
      Add POST /presignedPosts endpoint · 5e737afd
      Daniel Schultz authored
      This endpoint returns an S3 presigned post, allowing a client to upload
      a PDF to our S3 bucket.
      
      Issue #2 Create endpoint to generate a presigned post
      5e737afd
    • Daniel Schultz's avatar
      Add pytest · 584dd327
      Daniel Schultz authored
      We'll be using `pytest` and `pytest-mock` for our unit and integration
      tests.  This could have been set up earlier but I needed more runtime
      context to know how the tools would fit together.
      584dd327
    • Daniel Schultz's avatar
      Add basic FastAPI service · e453aad7
      Daniel Schultz authored
      This is essentially a hello world application which just redirects users
      to an empty docs page.  We'll start adding real endpoints over time,
      don't worry.
      
      Issue #2 Create endpoint to generate a presigned post
      e453aad7
  6. Jun 25, 2024
  7. Jun 24, 2024
  8. Jun 20, 2024
  9. Jun 18, 2024
Loading