mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
26 lines
692 B
Markdown
26 lines
692 B
Markdown
---
|
|
title: FastAPI
|
|
description: A FastAPI server
|
|
tags:
|
|
- fastapi
|
|
- python
|
|
---
|
|
|
|
# FastAPI Example
|
|
|
|
This example starts a [FastAPI](https://fastapi.tiangolo.com/) server. The sample API includes a random number generator with min and max limits.
|
|
|
|
[](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Frailwayapp%2Fstarters%2Ftree%2Fmaster%2Fexamples%2Ffastapi)
|
|
|
|
## ✨ Features
|
|
|
|
- FastAPI
|
|
- Python
|
|
|
|
## 💁♀️ How to use
|
|
|
|
- Deploy using the button 👆
|
|
- Clone locally and connect to your project using `railway link`
|
|
- Install packages using `pip install -r requirements.txt`
|
|
- Run locally using `python main.py`
|