Coder Social home page Coder Social logo

ventory_certificate_generator's Introduction

Certificate Generator

Overview

The Certificate Generator is a web-based application built with Python Flask that allows users to generate personalized certificates. Users can input their name and email, and the application will create a customized certificate, store it in Google Firebase Storage, and keep the metadata in Firestore. The generated certificate can be accessed and viewed through a unique URL.

Features

  • Personalized Certificate Generation: Users can input their name and email to generate a custom certificate.
  • Certificate Search: Users can input their name or certificate ID to retrive their certificate.
  • Firebase Integration: The application uses Firebase Cloud Storage for storing certificate images and Firestore for storing metadata.
  • Web Interface: A simple and intuitive web interface for users to generate and view their certificates.
  • Secure Storage: All certificates are securely stored in Firebase's Cloud Storage with public URLs for easy access.

Technologies Used

  • Flask: Python-based micro web framework for handling the backend.
  • OpenCV: Library for adding text to the certificate image.
  • Pillow: Python Imaging Library (PIL) for image processing.
  • img2pdf: Tool for converting images to PDF format.
  • Firebase: Google Firebase for backend as a service, including Firestore and Cloud Storage.

Prerequisites

  • Python 3.6 or above
  • Firebase Account with Firestore and Cloud Storage setup
  • Firebase Admin SDK Service Account Key

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/kaushik54git/ventory_certificate_generator.git
    cd ventory_certificate_generator
  2. Create and Activate Virtual Environment:

    python -m venv venv
    source venv/bin/activate   # On Windows: venv\Scripts\activate
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Firebase Setup:

    • Obtain your Firebase Admin SDK Service Account Key and save it as serviceAccountKey.json in the keys directory.
    • Update the Firebase project ID and storage bucket in main.py.
  5. Run the Application:

    flask run
  6. Access the Application: Open your web browser and go to http://127.0.0.1:5000/.

Usage

  1. Generate Certificate:

    • Open the application in your browser.
    • Enter your name and email in the form.
    • Click "Generate Certificate".
    • The application will create a personalized certificate and display a link to view it.
  2. View Certificate:

    • After generating the certificate, a unique URL will be provided.
    • Click the link to view your certificate.
  3. Certificate Search:

    • Go to http://127.0.0.1:5000/search.
    • Enter your name or Certificate ID in the form.
    • Click "Search".
    • The application will retrieve your certificate and display to view it.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any inquiries or feedback, please contact:

Kaushik Kumbhat
GitHub

ventory_certificate_generator's People

Contributors

kaushik54git avatar

Watchers

 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.