Code Monkey home page Code Monkey logo

imb-envelope's Introduction

Envelope


A lightweight web service to generate USPS first class mail envelope with a traceable barcode.

Features

  1. Generate a ready-to-print envelope pdf and html
  2. Support both #10 Envelope and 4in*2in label
  3. The envelope has a traceable barcode
  4. Show status of your first class mail without certify!

Install

Generate config

  • Move app/config.py.example to app/config.py

  • config your USPS Web Tools API username, Business Gateway username and Password Guide

  • config a Flask session key

  • Config your redis server address

Docker

  • Modify the docker file to meet your need
    • CMD ["gunicorn", "app:app", "--workers", "4", "--worker-class", "app.ConfigurableWorker", "--bind", "0.0.0.0:8080", "--forwarded-allow-ips",""]
      • Define the path and the port
  • docker-compose up -d

Enjoy

  • Open http://localhost:8080/envelope/ in your browser

imb-envelope's People

Contributors

1997cui avatar

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.