Giter Club home page Giter Club logo

pdffer's Introduction

pdffer

a pdf generation tool

Set up db

  1. install docker
  2. in one terminal, run docker-compose up --build. This gets the db up and running.
  3. In another terminal, run docker-compose run --rm app python manage.py migrate. In fact use this command to run anything adhoc.
  4. now cd into db_test_app and run docker build . -t app && docker run --net=host app.

Adhoc commands

docker-compose run --rm app python manage.py startapp pdffer

docker-compose run --rm app python manage.py populate_db

Set up application

  1. docker-compose up --build and go to http://localhost:8000/api

pdf

wkHtmltopdf docker

Apart from puppdf, took lessons from this article

TODO

Registration

  • use next_url redirection for logout and signup

  • it needs csrf check

apis

X Identify Code Decouple

  • Code Decouple
  • Tests
  • Documentation
  • make ui to consume all of above.
  • Think credits, billing, pricing.

Read

Email Verification Cost analysis per pdf Payments integration Look at all test cases around auth

email verify

Auth Decouple

  1. Client, Session migrations move to auth - done
  2. all login and signup web templates must be in auth/templates.
  3. make it into a django library.

EmailS Decouple

Already there. Just make it a library.

Next stage todo

  1. review areas for security flaws like

    • verification email should not give away so much.
    • people can hit and try verification link etc.
  2. get secret from kms or something. right now one has to go into docker container and add password manually for email

  3. add multi-level logs

Hook -

pdffer's People

Contributors

nilinswap avatar

Stargazers

Amit Upadhyay avatar

Watchers

James Cloos avatar  avatar

Forkers

lilyhill

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.