Skip to content
JinLeeGGPublic

About

Demo repository for FastAPI

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Demo

This repository contains a FastAPI demonstration project. Follow the instructions below to set up and run the application.

Prerequisites

  • Python 3.13.3 (latest version)
  • Git

Setup Instructions

1. Clone the Repository

Git Bash:

git clone https://github.com/JinLeeGG/FastAPI.git

Command Prompt:

cd FastAPI

2. Create a Virtual Environment

Open a Command Prompt and run:

python -m venv venv

3. Activate the Virtual Environment

On Windows:

cd venv\Scripts
activate.bat

On macOS/Linux:

source venv/bin/
activate.bat

4. Install Dependencies

With the virtual environment activated, install the required packages:

pip install fastapi
pip install "uvicorn[standard]"
pip install jinja2

Running the Application

  1. Make sure you're in the project directory where main.py is located
  2. Start the application with:
uvicorn main:app --reload
  1. The web application will be available at:

Development

The --reload flag enables auto-reload, so the server will restart automatically when you make changes to the code.

API Documentation

FastAPI automatically generates interactive API documentation:

About

Demo repository for FastAPI

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages