The Sentry-FastAPI-Demo is a backend application built with FastAPI and integrated with Sentry for error tracking and reporting. The application is designed to be deployed on Vercel, providing a seamless and scalable solution for backend services.
The repository contains the following key files:
-
main.py: This is the main application file where the FastAPI application is defined.
-
requirements.txt: This file lists the Python dependencies required by the application.
-
vercel.json: This file contains the configuration settings for deploying the application on Vercel.
-
pokedex.py: This file contains the pokemon data to be served.
To get started with this template, follow these steps:
-
Clone the repository:
git clone https://github.com/CharlesCreativeContent/sentry-fastapi-demo.git
-
Navigate into the project directory:
cd sentry-fastapi-demo
-
Run the application locally:
uvicorn main:app --reload
-
Open your browser and navigate to http://localhost:8000 to view the application.
To deploy the application on Vercel, you will need to:
-
Create a new project on Vercel and link it to your cloned repository.
-
You can use Sentry Monitoring by signing in to Sentry account from Vercel Integration Dashboard.
-
Deploy the application.
The Sentry-FastAPI-Demo is open-source software licensed under the MIT license.
Thanks to the FastAPI and Sentry communities for their great work, which made this template possible.