A fullstack project that brings together image processing and analysis techniques through an interactive platform.
- Developer: Leonardo Franco de Godói
- GitHub profile: https://github.com/lfgodoi
- Contact: eng.leonardogodoi@gmail.com
It is usually common to need to run the app directly using Python for development and testing purposes, without the need to use Kubernetes, which will only be required for its automatic deployment.
Navigate to the app directory.
cd app
Create a virtual environment.
python3 -m venv venv
Activate the virtual environment.
source venv/bin/activate
Update the Pip.
pip install --upgrade pip
Install the app dependencies.
pip install -r requirements.txt
Run the app.
python main.py
FastAPI provides the Swagger, which refers to the automatically generated interactive API documentation provided by the OpenAPI standard. Swagger UI is an interface that visualizes the API documentation in a user-friendly manner, allowing developers and users to explore and test the endpoints of a FastAPI application directly from a web browser.
Open a browser and open the following URL: http://localhost:8000/docs.
Find the endpoint you wish to test and click on 'Try it out'.
Fill the request body parameters and click on 'Execute' to send the request.
Check whether the response status code is 200 (success) and the content in response body.