An open API service indexing awesome lists of open source software.

https://github.com/sholehbaktiabadi/fastapi-simple-restapi

Simple FastApi CRUD Rest Api
https://github.com/sholehbaktiabadi/fastapi-simple-restapi

authentication authorization fastapi fastapi-crud fastapi-sqlalchemy jose-jwt mysql pydantic python sqlalchemy

Last synced: 24 days ago
JSON representation

Simple FastApi CRUD Rest Api

Awesome Lists containing this project

README

          

## Python Version

```bash
$ 3.10.12
```

## Pip Version

```bash
$ 23.3.2
```

## Set Virtual Env

```bash
# docs: https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
# Set virtual env
$ python3 -m venv .venv

# Activate virtual env
$ source .venv/bin/activate

```

## Install packages in a virtual environment

```bash
$ pip install -r requirements.txt
```

## Running the app

```bash
# cmd
$ python main.py

```