Git Product home page Git Product logo

fastapi101's Introduction

FastAPI 101

Sistema de gestão, autenticação e permissionamento de usuários com FastAPI.
Aplicativo experimental com finalidade de aprender o framework!

PyENV | Poetry | Typer CLI | FastAPI | SQLModel | CSS Flex | CSS Grid

Configurando Ambiente

Definir versão do Python com PyENV

$ pyenv install --list
$ pyenv install 3.11.4
$ pyenv global 3.11.4
$ pyenv shell 3.11.4

Clonar projeto

$ git clone https://github.com/dalmofelipe/FastApi101.git

Iniciar shell poetry

$ cd FastApi101
$ poetry shell

Instalar dependências do pyproject.toml

$ poetry install

Executando o Projeto

$ fast runserver

O servidor ouvirá a porta 8000 em http://localhost:8000

A porta pode ser modificada por uma variavel de ambiente

ex. Linux: export PORT=3333
ex. Windows: $env:PORT="123123"

Acesse a ajuda com os comandos da CLI:

$ fast --help
$ fast runserver --help

fastapi101's People

Contributors

dalmofelipe avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.