Skip to content

rewirepy/example-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-fastapi

A Simple Example of Using rewire with FastAPI

This repository showcases how to use rewire to set up a development environment for a FastAPI application.

Configuration

Our application uses two configuration files: config.yaml and .plugin.yaml.

config.yaml - Application-Wide Configuration

This file contains settings that apply to the entire application, such as database URLs or third-party API keys.

.plugin.yaml - A List of Folders to be Automatically Loaded

By listing folders in this file, we can use rewire to automatically import files inside.

To run the example application, follow these steps:

  1. Clone the repository: git clone https://github.com/rewirepy/example-fastapi
  2. Navigate to the project directory: cd example-fastapi
  3. Install dependencies: pip install -r requirements.txt
  4. Run the application: python __main__.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages