/Fast-API_Mongo-DB_test

FARM Stack early tests, a simple CRUD api

Primary LanguagePython

Fast-API Mongo-DB Test

FastAPI is a Python framework for building HTTP APIs.

  • This is a basic project for a future FaRM Stack project.
  • THIS IS NOT A REAL API. just a demo. Testing some stuff.
  • The basic concept is a very simple CRUD api whit Mongo Database.

Falta Fazer:

  • Integrar com o Mongo ✔️
  • Criar Rotas de CRUD ✔️
  • Testar Todas as Rotas ✔️
    • Delete & Update by name have problems with objectID
  • Autentificar as rotas
  • Alguma ideia que aparecer

How to run:

    cd API
    uvicorn app:api --reload
  • or run the app.py file

Testing.

    python tests.py
  • Or use the Swagger UI : )

Expected results:

  • All pass : )
  • None pass : (