Skip to content

Features with vanilla code without extensions #18

@CharlyJazz

Description

@CharlyJazz

Since a lot of extensions of flask are outdated and bugged. We going write features with native flask code, add more features and make the project more clean and easy to use and scale.


Database modeling, schema, and ORM:

  • Improve User/Role models with native code without Flask-Security
  • Each model in a file in models.py
  • Schema for JSON parsing using marshmallow
  • Add User Role unit test

Testing, TTD/BDD:

  • Remove Flask-Testing because is outdated

  • Create Unit Testing for Schemas, Models definition and CLI commands

  • REST API Integration test

  • GRAPHQL API Integration test

CLI:

  • Create a folder cli/ and add a file for each command

  • Create a command to generate a sqlalchemy model with properties and references like Rails ⭐

Web Server:

  • File upload folders examples with ```Flask-Upload`` or native code if that library don't work
  • Register with email confirmation
  • Login
  • User details page
  • Recover Password with email token
  • Remove Bootstrap and Flask-Assets
  • Remove Material Icons and Fonts from Google
  • Remove JQuery
  • Refactors Jinja2 code and HTML to make it better to read
  • Remove feature: Admin panel and add a Admin protected simple view
  • Facebook, Twitter, Google authentication

REST API:

  • Endpoints
    • JWT with RSA2048
    • Login
    • Protected endpoint for admin
    • All users non-protected view
  • API Documentation with this as npm package, more pretty than Swagger

GRAPHQL API:

  • Endpoints
    • JWT with RSA2048
    • Login
    • Protected endpoint for admin
    • All users non-protected view
  • API Documentation with graphiql

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions