Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

FastAPI / SQLAlchemy based book server #1

@bnmnetp

Description

@bnmnetp

This is a start on a migration of the book server to FastAPI - Lets use this Issue to discuss.

I want to polish up this first bit to set the stage for the rest of what needs to come. So getting this as "right" as we can is the goal.

You should be able to run this yourself with the following:

  1. clone this repo
  2. Install poetry
  3. run poetry install to install all of the dependencies (you can either make your own virtualenv or let Poetry)
  4. run the command uvicorn app.main:app --reload
  5. Navigate to http://localhost:8000/docs

You can then exercise the API call for logger/bookevent using the autogenerated documentation.

Next up getting a unittest set up for this first endpoint.

Tagging @bjones1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions