igorcosta / api_workspace

A restful API demo for GitHub Workspace
MIT License
0 stars 0 forks source link

Setup this python project for fastAPI #10

Closed igorcosta closed 4 months ago

igorcosta commented 4 months ago

This project requires the following:

Python 3.7 or above as minimum version for support. For all entities required, please use a simple SQLite database, the main entities are users, tasks, profile, workspace, within these there are aux tables.

Use the latest version of fastAPI For each endpoint, implement the necessary request handling, data validation, database operations, and response formatting. Use appropriate HTTP methods (GET, POST, PUT, DELETE) and define clear request and response payloads. Handle error cases gracefully and return appropriate HTTP status codes.

Remember to include authentication and authorization mechanisms to ensure that only authorized users can access and modify the respective resources