Files
archived-starters/examples/fastapi/README.md
2021-07-21 03:04:04 -04:00

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.
[![Deploy on Railway](https://railway.app/button.svg)](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`