Another FlaskAPI

screenshot of Another FlaskAPI

[PT-BR] Outra API Rest com Flask, porém usando um padrão arquitetural diferente para organizar melhor o projeto. [EN-US] Another Flask Rest API but using a new acquired design patterns to better organize the project.

Overview:

The API built using Flask alongside SQLAlchemy and Marshmallow offers a robust solution for user management. Designed with simplicity and efficiency in mind, this RESTful API allows for secure handling of user data including authentication and CRUD operations. With well-structured endpoints, developers can easily list, create, update, and delete users while ensuring secure communication via token authentication.

Features:

  • User Listing: Retrieve a complete list of users with a simple GET request, allowing for efficient data management and access.

  • Filtering by Name: Easily filter users based on their names through a query parameter, enhancing search capability for user retrieval.

  • User Details: Access specific user information via their unique ID, ensuring that each request returns the intended user or an appropriate error.

  • User Registration: Register new users securely with username, password, name, and email, ensuring that passwords are encrypted before storage.

  • User Updating: Update existing user data with a PUT request, making it easy to maintain current information as user details change.

  • User Deletion: Remove users from the system with a DELETE request, maintaining a clean and manageable user base.

  • JWT Token Authentication: Implement secure authentication using JWT tokens, ensuring that user data remains protected during interactions with the API.

  • Structured Responses: Receive consistent response statuses (e.g., 200, 404, 500) for various operations, aiding in clear communication of success or errors.