Giter Site home page Giter Site logo

capless / pfunk Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 946 KB

A Python library to make writing applications with FaunaDB easier. Includes GraphQL and generic ABAC auth workflow integrations.

Home Page: https://www.pfunk.io/docs/pfunk.html

License: Apache License 2.0

Dockerfile 0.06% Python 99.79% Jinja 0.11% HTML 0.03%
faunadb fauna orm

pfunk's Issues

Create Change Password view

  • Create change password method on User class
  • Create update password function
  • Create update password view
  • Update User role to include the function
  • Write unit tests

Create login view

  • Call the login method on the User class
  • Send HTTP-only cookie with encrypted JWT token
  • Send JSON response with encrypted JWT token
  • Write unit tests

As a developer, I have a CLI

  • Add clicky to the project
  • Add init command
  • Init command should include a WSGI app
  • add-stage command that creates a new stage with new fauna key
  • local command that runs the wsgi app locally using Werkzeug's run_simple
  • deploy command that creats SAM template that deploys the API Gateway and Lambda

Add indexes to the GraphQL Jinja2 template

Problem

Currently, you have to add additional indexes to the GraphQL schema by using the extra_graphql_queries variable on the Project class.

Solution

Figure out how to add it to the GraphQL Jinja2 template

Add pre and post signals

  • add pre_create signal
  • add post_create signal
  • add pre_delete signal
  • add post_delete signal
  • add post_update signal
  • add pre_update signal

Create CRUD/Admin API views

  • Create Create view
  • Create Update view
  • Create Delete view
  • Create Detail View
  • Create List View
  • Write unit tests

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.