Skip to content

TomoyaKuroda/Vercel-FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Project

Deploy with Vercel

This is a FastAPI project designed to be lightweight using FastAPI-Slim and ready for deployment on Vercel. It includes instructions for running the project locally using FastAPI-CLI.

Table of Contents

Installation

  1. Clone the repository:

    git clone hhttps://github.com/TomoyaKuroda/Vercel-FastAPI.git
    cd Vercel-FastAPI
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate```
  3. Install dependencies:

    pip install -r requirements.txt  
    pip install fastapi-cli # This is required to use fastapi command locally

Running Locally

  1. Start the FastAPI server: fastapi dev api/main.py

  2. Open your browser and navigate to: http://127.0.0.1:8000

  3. You should see your FastAPI application running.

License

This project is licensed under the MIT License. Feel free to adjust any parts to better fit your specific project details and structure.

About

Template for FastAPI project on Vercel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages