/fastapi-data-query-project

A RESTful web-service developed using FastAPI and SQLAlchemy

Primary LanguagePython

This project is developed using FastAPI and SQLAlchemy

Kindly setup the project using the requirements file. Then using any asgi server like uvicorn this app can be spin-up using below command.

uvicorn app.main:app --reload

The REST-API documentation can be found by navigating to the Home url of the application. http://127.0.0.1:8000/ or http://127.0.0.1:8000/docs

A docker image can also be built with the present Dockerfile and commands like: docker build -t fastapi_application_image .

Run a container using the below sample command:

docker run --name fastapi_service_container -p 80:80 fastapi_application_image